Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎arduino-builder/main.go‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /