Skip to content

Commit

Permalink
fix: fix image.WorkingDir not saving (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
soldair committed Feb 21, 2019
1 parent 45dda7e commit 61397cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -266,7 +266,7 @@ export class Image {
[].push.apply(imageData.config.config.Env, options.Env || this.Env || []);
}

if (options.WorkingDir) {
if (options.WorkingDir || this.WorkingDir) {
imageData.config.config.WorkingDir =
options.WorkingDir || this.WorkingDir!;
}
Expand Down

0 comments on commit 61397cb

Please sign in to comment.