Skip to content

Commit

Permalink
Better output
Browse files Browse the repository at this point in the history
  • Loading branch information
piraces committed Apr 20, 2021
1 parent fa35e63 commit c08f0d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12491,7 +12491,7 @@ function processFilesWithKubeScore(files, stream) {
if (stream) {
stream.write(`*** Analysis for file '${file}' ***\n\n`);
exitCode = yield exec.exec('kube-score', ['score', file], { outStream: stream, errStream: stream });
stream.write(`\n\n`);
stream.write(`\n\n*** End analysis for file '${file}' ***\n\n`);
}
else {
exitCode = yield exec.exec('kube-score', ['score', file]);
Expand Down
2 changes: 1 addition & 1 deletion src/kubescore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async function processFilesWithKubeScore(files: string[], stream: fs.WriteStream
if (stream) {
stream.write(`*** Analysis for file '${file}' ***\n\n`);
exitCode = await exec.exec('kube-score', ['score', file], { outStream: stream, errStream: stream });
stream.write(`\n\n`);
stream.write(`\n\n*** End analysis for file '${file}' ***\n\n`);
} else {
exitCode = await exec.exec('kube-score', ['score', file]);
}
Expand Down

0 comments on commit c08f0d9

Please sign in to comment.