Skip to content

Commit 538f4a5

Browse files
committed
fix typo
1 parent 9f7124c commit 538f4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func (cmd *Setup) Parse(args []string) error {
2424
}
2525

2626
func (cmd *Setup) Exec() {
27-
if !cmd.Overwrite && !Exists(cmd.Path("src")) {
27+
if !cmd.Overwrite && Exists(cmd.Path("src")) {
2828
fmt.Fprintf(os.Stderr, "src directory %v already setup", cmd.Path("src"))
2929
os.Exit(1)
3030
}

0 commit comments

Comments
 (0)