Skip to content

Commit

Permalink
fix(windows): normalize path for sync temp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Nov 14, 2019
1 parent 5536207 commit 2761776
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion garden-service/src/build-dir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ` +
Expand Down

0 comments on commit 2761776

Please sign in to comment.