Skip to content

Commit e38cccc

Browse files
committed
Fix path for windows
1 parent 0836de4 commit e38cccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooling/docs-assembler/Deploying/AwsS3SyncPlanStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ await Parallel.ForEachAsync(localObjects, ctx, async (localFile, token) =>
7070
// Find deletions (files in S3 but not locally)
7171
foreach (var remoteObject in remoteObjects)
7272
{
73-
var localPath = Path.Combine(context.OutputDirectory.FullName, remoteObject.Key);
73+
var localPath = Path.Combine(context.OutputDirectory.FullName, remoteObject.Key.Replace('/', Path.DirectorySeparatorChar));
7474
if (context.ReadFileSystem.File.Exists(localPath))
7575
continue;
7676
var deleteRequest = new DeleteRequest

0 commit comments

Comments
 (0)