Fix deploy action on node 6

Downgrade @types/node to version 6 as we support node6

Change-type: patch
This commit is contained in:
Alexis Svinartchouk
2018-12-13 22:02:27 +01:00
parent 464d706920
commit 03a3ef38e1
3 changed files with 5 additions and 3 deletions

View File

@ -196,7 +196,7 @@ function assignOutputHandlers(buildTasks: BuildTask[], logger: Logger) {
} else {
task.streamHook = stream => {
stream.on('data', (buf: Buffer) => {
const str = buf.toString().trimRight();
const str = _.trimEnd(buf.toString());
if (str !== '') {
displayBuildLog(
{ serviceName: task.serviceName, message: str },