We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cac6db2 + 9a462cf commit 797e0d0Copy full SHA for 797e0d0
cli/src/index.ts
@@ -12,7 +12,7 @@ import { allExtensions, referencesFileName } from "./extensions";
12
import { getBranchLibraryName } from "./builders/environment";
13
import { getFiles, renameFiles, replaceIncludes } from './utils';
14
15
-const isCli = process.argv.length >= 2 && process.argv[1].endsWith(`so`);
+const isCli = process.argv.length >= 2 && (process.argv[1].endsWith(`so`) || process.argv[1].endsWith(`index.js`));
16
17
if (isCli || process.env.VSCODE_INSPECTOR_OPTIONS) {
18
cliSettings.cliMode = true;
0 commit comments