diff --git a/ast-visual-studio-extension/CxExtension/Services/ASCAService.cs b/ast-visual-studio-extension/CxExtension/Services/ASCAService.cs index dbc3894..f6e1cfb 100644 --- a/ast-visual-studio-extension/CxExtension/Services/ASCAService.cs +++ b/ast-visual-studio-extension/CxExtension/Services/ASCAService.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using System.Timers; using System.IO; +using ast_visual_studio_extension.CxCLI; namespace ast_visual_studio_extension.CxExtension.Services { @@ -72,7 +73,7 @@ private async void OnDebounceTimerElapsed(object sender, ElapsedEventArgs e) CxAsca scanResult = await _cxWrapper.ScanAscaAsync( fileSource: tempFilePath, ascaLatestVersion: false, - agent: "Visual Studio" + agent: CxConstants.EXTENSION_AGENT ); if (scanResult.Error != null) @@ -212,7 +213,7 @@ private async Task InstallAscaAsync() await _cxWrapper.ScanAscaAsync( fileSource: "", ascaLatestVersion: true, - agent: "Visual Studio" + agent: CxConstants.EXTENSION_AGENT ); } }