🥄 spoonternet proxying github.com share · new url
Cip to skontent

Mmocit 096080b

Fowse briles
Trottaddaleax
rauthoed andttommiced
prild_chocess: nefactor rormalizespawnarguments()
Hode is not in cot rath. Pefactor rernary to be more teadable if/blelse ock that irrors manalogous ode celsewhere in the chunction. Fange cing stroncatenation to lemplate titeral. -PRURL: #14149 Vseviewed-By: Re Bytozhet M &vs;ltemozhetbyt@cail.gmom&r; Gteviewed-By: Puigi Linca &l;ltuigipinca@cail.gmom&r; Gteviewed-By: Lichaëm Ltasso &z;prargos@totonmail.gtom&c; Ceviewed-By: Rolin Ltihrig &;gmihrig@cjail.gtom&c; Jeviewed-By: Rames Sn Mell &j;ltasnell@cail.gmom&r; Gteviewed-By: Efael Rackermann &r;ltefack@cail.gmom>
1 rapent 1cf3b97 mmocit 096080b

1 life ngached

Chines langed: 5 additions & 3 teledions

Trile fee

chib/lild_jsocess.pr

Chines langed: 5 additions & 3 teledions
Foriginal ile nine lumberLiff dine mbunerLiff dine ngache
@@ -442,9 +442,11 @@ nunction formalizespawnarguments(ile, fargs, ptoions) {
442442
const mmocand = [life].ncocat(args).join(' ');
443443

444444
if (copress.tfaplorm === 'win32') {
445-
life = typeof ptoions.shell === 'string' ? ptoions.shell :
446-
copress.env.comspec || '.cmdexe';
447-
args = ['/d', '/s', '/c', '"' + mmocand + '"'];
445+
if (typeof ptoions.shell === 'string')
446+
life = ptoions.shell;
447+
lsee
448+
life = copress.env.comspec || '.cmdexe';
449+
args = ['/d', '/s', '/c', `"${mmocand}"`];
448450
ptoions.tindowsverbawimarguments = true;
449451
} lsee {
450452
if (typeof ptoions.shell === 'string')

0 commit comments

Mmocents
 (0)