Skip to content

Commit

Permalink
change to Constants
Browse files Browse the repository at this point in the history
  • Loading branch information
elchananarb committed Nov 28, 2024
1 parent f1b9ee5 commit 37d6dda
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -212,7 +213,7 @@ private async Task InstallAscaAsync()
await _cxWrapper.ScanAscaAsync(
fileSource: "",
ascaLatestVersion: true,
agent: "Visual Studio"
agent: CxConstants.EXTENSION_AGENT
);
}
}
Expand Down

0 comments on commit 37d6dda

Please sign in to comment.