File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
tests/legacy-cli/e2e/setup Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export default async function () {
1111 const yarnModulesPrefix = join ( tempRoot , 'yarn-global' ) ;
1212 const npmRegistry : string = getGlobalVariable ( 'package-registry' ) ;
1313 const npmrc = join ( tempRoot , '.npmrc' ) ;
14- const yarnrc = join ( tempRoot , '.yarnrc' ) ;
1514
1615 // Change the npm+yarn userconfig to the sandboxed npmrc to override the default ~
1716 process . env . NPM_CONFIG_USERCONFIG = npmrc ;
@@ -35,9 +34,8 @@ export default async function () {
3534 process . env [ 'NPM_CONFIG_legacy_peer_deps' ] = 'true' ;
3635 }
3736
38- // Configure the registry and prefix used within the test sandbox via rc files
39- await writeFile ( npmrc , `registry=${ npmRegistry } \nprefix=${ npmModulesPrefix } ` ) ;
40- await writeFile ( yarnrc , `registry ${ npmRegistry } \nprefix ${ yarnModulesPrefix } ` ) ;
37+ // Configure the registry used within the test sandbox via rc files
38+ await writeFile ( npmrc , `registry=${ npmRegistry } \n` ) ;
4139
4240 await mkdir ( npmModulesPrefix ) ;
4341 await mkdir ( yarnModulesPrefix ) ;
You can’t perform that action at this time.
0 commit comments