Skip to content

Commit

Permalink
Fix err check
Browse files Browse the repository at this point in the history
  • Loading branch information
msanterre committed Feb 27, 2024
1 parent cda59d3 commit ca3c85b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ func main() {
// Runs the command in the specified directory
if flag.NArg() == 1 {
rootPath := os.Args[len(os.Args)-1]
os.Chdir(rootPath)
err := os.Chdir(rootPath)
if err != nil {
log.Fatal(err)
}
}

start := time.Now()
Expand Down

0 comments on commit ca3c85b

Please sign in to comment.