We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cac6db2 commit 9a462cfCopy full SHA for 9a462cf
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