Permalink
Browse files

Add a path separator for the temp file download

Fixes #6
  • Loading branch information...
joerocklin committed Jan 11, 2018
1 parent 3837342 commit 8a3f16b6b197b674bee2c36a9ab589ac10a1d5b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 justgo.go
@@ -65,7 +65,7 @@ func buildProject(path string) {
}

fileUrl := "https://github.com/inadarei/justgo-microservice/archive/master.zip"
tmpFilePath := os.TempDir() + "justgo.zip"
tmpFilePath := os.TempDir() + string(os.PathSeparator) + "justgo.zip"
defer os.Remove(tmpFilePath)

// Move all conflicting files to tmp dir and move them back post-build

0 comments on commit 8a3f16b

Please sign in to comment.