Skip to content

Commit

Permalink
Merge pull request #66 from pantheon-systems/od/bugfix/fix-logs
Browse files Browse the repository at this point in the history
Not showing install logs if `silentLog` flag is true
  • Loading branch information
kevinstubbs authored Sep 28, 2023
2 parents ccda645 + 7e28dc3 commit 33d23a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/cli/abc
Submodule abc added at cab508
2 changes: 1 addition & 1 deletion packages/cli/src/cli/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const init = async ({
// Installing dependencies
new SpinnerLogger("Installing dependencies...", silentLogs).info();
try {
await sh(packageManager, ["install"], true);
await sh(packageManager, ["install"], !silentLogs);
} catch (e) {
console.error(e);
throw e;
Expand Down

0 comments on commit 33d23a9

Please sign in to comment.