File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
packages/angular/cli/tasks Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,7 @@ export function installTempPackage(
78
78
79
79
// setup prefix/global modules path
80
80
const packageManagerArgs = getPackageManagerArguments ( packageManager ) ;
81
- let tempNodeModules : string ;
82
- if ( packageManager !== PackageManager . Yarn && process . platform !== 'win32' ) {
83
- // Global installs on Unix systems go to {prefix}/lib/node_modules.
84
- // Global installs on Windows go to {prefix}/node_modules (that is, no lib folder.)
85
- tempNodeModules = join ( tempPath , 'lib' , 'node_modules' ) ;
86
- } else {
87
- tempNodeModules = join ( tempPath , 'node_modules' ) ;
88
- }
81
+ const tempNodeModules = join ( tempPath , 'node_modules' ) ;
89
82
90
83
const installArgs : string [ ] = [
91
84
packageManagerArgs . prefix ,
You can’t perform that action at this time.
0 commit comments