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';