You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, it looks like I need to use --bin "yarn --silent" to prevent the return values (error codes) from --if from getting reported as errors on the console. This works just fine on Windows, but fails at least on ubuntu and mac, since the spawn does not split the command's arguments for --bin. So spawn ends up looking trying to run "yarn --silent" as a command, when "--silent" whould be a parameter for "yarn". The contents of --if are split correctly.
Would cross-spawn be problematic as a dependency?
The text was updated successfully, but these errors were encountered:
So, it looks like I need to use --bin "yarn --silent" to prevent the return values (error codes) from --if from getting reported as errors on the console. This works just fine on Windows, but fails at least on ubuntu and mac, since the spawn does not split the command's arguments for --bin. So spawn ends up looking trying to run "yarn --silent" as a command, when "--silent" whould be a parameter for "yarn". The contents of --if are split correctly.
Would cross-spawn be problematic as a dependency?
The text was updated successfully, but these errors were encountered: