Skip to content

Commit

Permalink
fix: more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Jun 11, 2023
1 parent 3d539f9 commit f32ff25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,13 @@ fetch(pomUrl).then((response: any) => {
`sh build-docker.sh ${options.mavenVersion}`,
{ cwd: workFolder },
(error, stdout, stderr) => {
console.log(`stdout: ${stdout}`);
if (error) {
console.error(`${error.message}`);
return;
}
if (stderr) {
console.error(`stderr: ${stderr}`);
return;
}
console.log(`stdout: ${stdout}`);
}
);
});
Expand Down

0 comments on commit f32ff25

Please sign in to comment.