File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed
packages/yarnpkg-cli/sources Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,14 @@ function runBinary(path: PortablePath) {
2222 // innermost process, whose end will cause our own to exit.
2323 } ) ;
2424
25- if ( physicalPath ) {
26- execFileSync ( process . execPath , [ physicalPath , ...process . argv . slice ( 2 ) ] , {
27- stdio : `inherit` ,
28- env : {
29- ...process . env ,
30- YARN_IGNORE_PATH : `1` ,
31- YARN_IGNORE_CWD : `1` ,
32- } ,
33- } ) ;
34- } else {
35- execFileSync ( process . execPath , process . argv . slice ( 2 ) , {
36- stdio : `inherit` ,
37- env : {
38- ...process . env ,
39- YARN_IGNORE_PATH : `1` ,
40- YARN_IGNORE_CWD : `1` ,
41- } ,
42- } ) ;
43- }
25+ execFileSync ( process . execPath , [ physicalPath , ...process . argv . slice ( 2 ) ] , {
26+ stdio : `inherit` ,
27+ env : {
28+ ...process . env ,
29+ YARN_IGNORE_PATH : `1` ,
30+ YARN_IGNORE_CWD : `1` ,
31+ } ,
32+ } ) ;
4433}
4534
4635export async function main ( { binaryVersion, pluginConfiguration} : { binaryVersion : string , pluginConfiguration : PluginConfiguration } ) {
You can’t perform that action at this time.
0 commit comments