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(
7878
7979 // setup prefix/global modules path
8080 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' ) ;
8982
9083 const installArgs : string [ ] = [
9184 packageManagerArgs . prefix ,
You can’t perform that action at this time.
0 commit comments