Fix linting errors in build scripts

This commit is contained in:
2019-03-09 18:35:00 +00:00
parent 01c639ceca
commit b321fb4698
2 changed files with 2 additions and 2 deletions

View File

@@ -29,6 +29,6 @@ imagemin(['images/*.{png,jpg,gif}'], 'theme/images', {
});
})
.catch((error) => {
process.stdout.write(`${error}\n`);
process.stderr.write(`${error}\n`);
process.exit(1);
});

View File

@@ -93,7 +93,7 @@ upAll(dockerOptions).then(
}
},
(err) => {
console.error(`Error: ${err.message}\n`);
process.strerr.write(`Error: ${err.message}\n`);
process.exit(1);
},
);