Skip to content

Commit

Permalink
atlasexec: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed Jun 17, 2024
1 parent 954d50a commit 2485de4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atlasexec/atlas.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,7 @@ func (c *Client) WithWorkDir(dir string, fn func(*Client) error) error {
wd := c.workingDir
defer func() { c.workingDir = wd }()
c.workingDir = dir
err := fn(c)
return err
return fn(c)
}

// Login runs the 'login' command.
Expand Down

0 comments on commit 2485de4

Please sign in to comment.