We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b5f578 commit 722de3dCopy full SHA for 722de3d
apps/rush-lib/src/scripts/install-run-rush.ts
@@ -49,6 +49,8 @@ function run(): void {
49
...packageBinArgs /* [build, --to, myproject] */
50
]: string[] = process.argv;
51
52
+ // Detect if this script was directly invoked, or if the install-run-rushx script was invokved to select the
53
+ // appropriate binary inside the rush package to run
54
const scriptName: string = path.basename(scriptPath);
55
const bin: string = scriptName.toLowerCase() === 'install-run-rushx.js' ? 'rushx' : 'rush';
56
if (!nodePath || !scriptPath) {
0 commit comments