Skip to content

Commit

Permalink
fix, display overrides iff there are overrides (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola authored Dec 23, 2021
1 parent ce6b323 commit 78c0d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orchestrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export async function start(

// Display info about the current node
let msg = `\n\t${decorators.green(node.name)} running`;
if(node.overrides) {
if(node.overrides && node.overrides.length > 0) {
msg += `\n\t\t with ${decorators.yellow("Overrides")}...\n`;
for(const override of node.overrides){
msg += `\t\t local_path: ${override.local_path}\n`;
Expand Down

0 comments on commit 78c0d2d

Please sign in to comment.