Skip to content

Commit 4d8f1bf

Browse files
committed
Absolutize buildPath only if provided via flags
1 parent 8e500a9 commit 4d8f1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-builder/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ func main() {
311311
if err != nil {
312312
printCompleteError(err)
313313
}
314+
ctx.BuildPath, _ = filepath.Abs(buildPath)
314315
}
315-
ctx.BuildPath, _ = filepath.Abs(buildPath)
316316

317317
// FLAG_BUILD_CACHE
318318
buildCachePath, err := gohasissues.Unquote(*buildCachePathFlag)

0 commit comments

Comments
 (0)