Skip to content

Commit b29bb6c

Browse files
committed
fixed accidental bug introduced in last commit
1 parent 8bf6666 commit b29bb6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ func parseArgs(args []string) *propsStruct {
8080
res.props[arr[1]] = ""
8181
}
8282
} else {
83-
// property is the last parameter, set to empty res.props[arr[1]] = ""
83+
// property is the last parameter, set to empty
84+
res.props[arr[1]] = ""
8485
}
8586
} else if arr := propFlagRegex.FindStringSubmatch(arg); arr != nil {
8687
// flag -p, -a -x

0 commit comments

Comments
 (0)