Skip to content

Commit

Permalink
Move log output to SearchAction
Browse files Browse the repository at this point in the history
  • Loading branch information
TakayasuKoura committed Aug 17, 2022
1 parent 428dc2f commit 1def411
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libs/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,8 @@ const installFromCatalog = async (
Deno.exit(1);
},
);
console.log(
Colors.green(`Installed to ${fullPath}`),
);

return fullPath;
};

const executePostprocess = async (
Expand Down Expand Up @@ -723,11 +722,15 @@ export class SearchAction {
Deno.exit(1);
}

installFromCatalog(
const fullPath = await installFromCatalog(
catalogResources[enteredNumber - 1],
name,
postProcesses,
);

console.log(
Colors.green(`Installed to ${fullPath}`),
);
}
}
}

0 comments on commit 1def411

Please sign in to comment.