summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/ponzu/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go
index 6a0af28..3cd4910 100644
--- a/cmd/ponzu/options.go
+++ b/cmd/ponzu/options.go
@@ -169,7 +169,7 @@ func newProjectInDir(path string) error {
var answer string
_, err := fmt.Scanf("%s\n", &answer)
if err.Error() == "unexpected newline" {
- return err
+ answer = ""
} else if err != nil {
return err
}