Skip to content

Commit

Permalink
Merge pull request #58 from Shopify/log-error
Browse files Browse the repository at this point in the history
Log error
  • Loading branch information
wizardlyhel authored Mar 23, 2020
2 parents a40b461 + e3f5b4d commit 3005d35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/run-executable.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ function runExecutable(args, cwd, logLevel) {

childProcess.on('error', (err) => {
errors += err;
logger.error(err.toString('utf8'));
});

childProcess.stderr.on('data', (err) => {
errors += err;
logger.error(err.toString('utf8'));
});

childProcess.on('close', () => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopify/themekit",
"version": "1.1.3",
"version": "1.1.4",
"description": "Node version of ThemeKit",
"bin": {
"shopify-themekit": "./lib/cli.js"
Expand Down

0 comments on commit 3005d35

Please sign in to comment.