Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Commit

Permalink
Move setting defaults to DockerBuild
Browse files Browse the repository at this point in the history
Per PR comment, move setting default builderPath to same place as
other defaults.
  • Loading branch information
David Dooling committed Apr 8, 2019
1 parent 691b933 commit 05c4cf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions lib/docker/DockerBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const DefaultDockerOptions: DockerOptions = {
push: false,
builder: "docker",
builderArgs: [],
builderPath: ".",
};

/**
Expand Down
1 change: 0 additions & 1 deletion lib/docker/executeDockerBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ export function executeDockerBuild(options: DockerOptions): ExecuteGoal {
const { goalEvent, context, project } = gi;

const optsToUse = mergeOptions<DockerOptions>(options, {}, "docker.build");
optsToUse.builderPath = (optsToUse.builderPath) ? optsToUse.builderPath : ".";

switch (optsToUse.builder) {
case "docker":
Expand Down

0 comments on commit 05c4cf5

Please sign in to comment.