Skip to content

Commit

Permalink
direct logs to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer Ohana committed Oct 11, 2022
1 parent 8390970 commit 1342ba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/lib/node-logger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import npmLog from 'npmlog';
import prettyTime from 'pretty-hrtime';
import chalk from 'chalk';

// The default is stderr, which can cause some tools (like rush.js) to think
// there are issues with the build: https://github.com/storybookjs/storybook/issues/14621
npmLog.stream = process.stdout;

export const colors = {
pink: chalk.hex('F1618C'),
purple: chalk.hex('B57EE5'),
Expand Down

0 comments on commit 1342ba0

Please sign in to comment.