"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/angular/cli/utilities/install-package.ts" between
angular-cli-12.0.3.tar.gz and angular-cli-12.0.4.tar.gz

About: Angular CLI is a command line interface for Angular.

install-package.ts  (angular-cli-12.0.3):install-package.ts  (angular-cli-12.0.4)
skipping to change at line 207 skipping to change at line 207
if (binKeys.length) { if (binKeys.length) {
binPath = resolve(pkgLocation, bin[binKeys[0]]); binPath = resolve(pkgLocation, bin[binKeys[0]]);
} }
} }
} }
if (!binPath) { if (!binPath) {
throw new Error(`Cannot locate bin for temporary package: ${packageNameNoVer sion}.`); throw new Error(`Cannot locate bin for temporary package: ${packageNameNoVer sion}.`);
} }
const argv = [`'${binPath}'`, ...args]; const { status, error } = spawnSync(process.execPath, [binPath, ...args], {
const { status, error } = spawnSync('node', argv, {
stdio: 'inherit', stdio: 'inherit',
shell: true,
env: { env: {
...process.env, ...process.env,
NG_DISABLE_VERSION_CHECK: 'true', NG_DISABLE_VERSION_CHECK: 'true',
NG_CLI_ANALYTICS: 'false', NG_CLI_ANALYTICS: 'false',
}, },
}); });
if (status === null && error) { if (status === null && error) {
throw error; throw error;
} }
 End of changes. 2 change blocks. 
4 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)