diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-18 19:03:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-18 19:03:50 +0800 |
commit | 4d485fc42432709d816c161d346bdc62a5a9ecf8 (patch) | |
tree | f712b440589f50b7b0ef2819709a75876e60415a | |
parent | 85f28ade867dcf3528465283a5c8458cb9363fd6 (diff) | |
download | dexon-sol-tools-4d485fc42432709d816c161d346bdc62a5a9ecf8.tar.gz dexon-sol-tools-4d485fc42432709d816c161d346bdc62a5a9ecf8.tar.zst dexon-sol-tools-4d485fc42432709d816c161d346bdc62a5a9ecf8.zip |
Print out stderr
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index 21c8b72c9..a2d641ff9 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -219,6 +219,10 @@ async function lernaPublishAsync(packageToVersionChange: { [name: string]: strin ); } }); + child.stderr.on('data', (data: Buffer) => { + const output = data.toString('utf8'); + utils.log('Stderr:', output); + }); } async function getPublicLernaUpdatedPackagesAsync(): Promise<UpdatedPackage[]> { |