Skip to content

Commit

Permalink
Merge pull request #1179 from polywrap/dorgjelli/docker-build-output-fix
Browse files Browse the repository at this point in the history
fix: improve docker verbose output
  • Loading branch information
dOrgJelli authored Aug 24, 2022
2 parents 8040fcb + 0e16a52 commit f400618
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/cli/src/lib/system/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ export async function createBuildImage(
};

if (quiet) {
return await run();
} else {
// Show spinner with helpful messages
const args = {
image: imageName,
dockerfile: displayPath(dockerfile),
Expand All @@ -202,6 +201,9 @@ export async function createBuildImage(
return await run();
}
)) as string;
} else {
// Verbose output will be emitted within run()
return await run();
}
}

Expand Down

0 comments on commit f400618

Please sign in to comment.