Skip to content

Commit 7c81548

Browse files
authored
[HotFix] Fix update path not being reached. (#10301)
1 parent ce2fa53 commit 7c81548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GitHubVulnerabilities2v3/Extensions/BlobStorageVulnerabilityWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public async Task FlushAsync(string outputFileName = null)
8484
var currentTime = DateTime.UtcNow.ToString(TimeFormat);
8585
var indexStorageUri = _storage.ResolveUri(_configuration.IndexFileName);
8686

87-
if (runMode == RunMode.Update && !await _storage.ExistsAsync(indexStorageUri.ToString(), CancellationToken.None))
87+
if (runMode == RunMode.Update && !await _storage.ExistsAsync(_configuration.IndexFileName, CancellationToken.None))
8888
{
8989
_logger.LogWarning("Update mode was set, but {IndexPath} doesn't exist. Falling back to regeneration.", indexStorageUri.ToString());
9090
runMode = RunMode.Regenerate;

0 commit comments

Comments
 (0)