Skip to content

Commit

Permalink
Handle error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiantang committed Oct 16, 2023
1 parent 0606c2a commit 9d67077
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runner/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ func (c *Config) preprocess() error {
c.Root = cwd
}
c.Root, err = expandPath(c.Root)
if err != nil {
return err
}
if c.TmpDir == "" {
c.TmpDir = "tmp"
}
Expand Down

0 comments on commit 9d67077

Please sign in to comment.