Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Ensure working directory exists (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Oct 22, 2020
1 parent 19385b5 commit ef6028a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func (executor *Executor) RunBuild() {

environment := getExpandedScriptEnvironment(executor, response.Environment)

EnsureFolderExists(environment["CIRRUS_WORKING_DIR"])
os.Chdir(environment["CIRRUS_WORKING_DIR"])

commands := response.Commands
Expand Down

0 comments on commit ef6028a

Please sign in to comment.