Skip to content

Commit

Permalink
Merge de57195 into fb1868a
Browse files Browse the repository at this point in the history
  • Loading branch information
nkinkade committed Jul 23, 2019
2 parents fb1868a + de57195 commit bda2203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func main() {
flagx.ArgsFromEnv(flag.CommandLine)

if *outputDir != "" {
rtx.PanicOnError(os.MkdirAll(*outputDir, 0755), "Could not create the output dir %s", *outputDir)
rtx.Must(os.Chdir(*outputDir), "Could not change to the directory %s", *outputDir)
}

Expand Down

0 comments on commit bda2203

Please sign in to comment.