Skip to content

Commit

Permalink
Merge pull request #19434 from ohana54/direct-logs-to-stdout
Browse files Browse the repository at this point in the history
direct logs to stdout
  • Loading branch information
ndelangen authored Oct 17, 2022
2 parents 23e2e27 + b125118 commit fa0ea24
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 fa0ea24

Please sign in to comment.