From 27617765444fce4e4aafcfc164267854f0e43987 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Thu, 14 Nov 2019 20:43:03 +0100 Subject: [PATCH] fix(windows): normalize path for sync temp directory --- garden-service/src/build-dir.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/garden-service/src/build-dir.ts b/garden-service/src/build-dir.ts index 7b4a30eff1..f5c92f3546 100644 --- a/garden-service/src/build-dir.ts +++ b/garden-service/src/build-dir.ts @@ -162,7 +162,13 @@ export class BuildDir { destinationPath = stripWildcard(destinationPath) // --exclude is required for modules where the module and project are in the same directory - const syncOpts = ["-rptgo", `--exclude=${this.buildDirPath}`, "--ignore-missing-args", "--temp-dir", tmpDir] + const syncOpts = [ + "-rptgo", + `--exclude=${this.buildDirPath}`, + "--ignore-missing-args", + "--temp-dir", + normalizeLocalRsyncPath(tmpDir), + ] let logMsg = `Syncing ${module.version.files.length} files from ` +