Skip to content

Commit

Permalink
Revert "check length"
Browse files Browse the repository at this point in the history
This reverts commit 1095838.
  • Loading branch information
Lynn Cyrin committed Aug 24, 2019
1 parent 7d62a9d commit c2d1a13
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@ func main() {
}

func runCmd(args ...string) error {
var cmd *exec.Cmd
if len(args) > 1 {
cmd = exec.Command(args[0], args[1:]...)
} else {
cmd = exec.Command(args[0])
}
cmd := exec.Command(args[0], args[1:]...)

cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
Expand Down

0 comments on commit c2d1a13

Please sign in to comment.