summaryrefslogtreecommitdiff
path: root/cmd/planr/sub/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/planr/sub/build.go')
-rw-r--r--cmd/planr/sub/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/planr/sub/build.go b/cmd/planr/sub/build.go
index a8b19ec..142ef1c 100644
--- a/cmd/planr/sub/build.go
+++ b/cmd/planr/sub/build.go
@@ -11,7 +11,7 @@ func Runner() planr.Runner {
r.RegisterAdapter(&gtest.GtestAdapter{})
- if wd, err := os.Getwd(); err != nil {
+ if wd, err := os.Getwd(); err == nil {
r.SetConfigDirFromTree(wd)
}