From e079f7777fc331d6db85adc791829be7b30b9d8e Mon Sep 17 00:00:00 2001 From: jgw96 Date: Thu, 6 Jul 2017 12:40:04 -0500 Subject: [PATCH] chore(build): use cross-spawn instead of spawn --- package.json | 1 + scripts/gulp/tasks/release.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f151575ae0..83e4b62c91 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "conventional-changelog": "1.1.0", "core-js": "2.4.1", "cpr": "2.0.0", + "cross-spawn": "^5.1.0", "del": "2.2.2", "dgeni": "^0.4.7", "dgeni-packages": "^0.16.10", diff --git a/scripts/gulp/tasks/release.ts b/scripts/gulp/tasks/release.ts index 6b4ccb74d6..eb6058ad3c 100644 --- a/scripts/gulp/tasks/release.ts +++ b/scripts/gulp/tasks/release.ts @@ -1,4 +1,5 @@ -import { exec, spawnSync, spawn } from 'child_process'; +import { exec } from 'child_process'; +import { spawn, spawnSync } from 'cross-spawn'; import { writeFileSync } from 'fs'; import * as changelog from 'conventional-changelog'; import * as GithubApi from 'github';