Skip to content

Commit

Permalink
fix(storage): should always prepare path
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Feb 9, 2024
1 parent cba18f7 commit ad15e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.Storage/Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ protected string GetPathWithPrefix(string filePath)
filePath = Helpers.PreparePath(Path.Combine(Options.Prefix, filePath))!;
}

return filePath;
return Helpers.PreparePath(filePath)!;
}

private async Task<StorageItemDownloadInfo?> GetStorageItemInfoAsync(string path,
Expand Down

0 comments on commit ad15e09

Please sign in to comment.