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

@ -283,5 +283,7 @@ export function exitWithExpectedError(message: string | Error): never {
}
printErrorMessage(message);
return process.exit(1);
process.exit(1);
// The following throw is to make tsc happy about the `never` return type.
throw new Error('exit');
}