isaacscript 3.4.15 → 3.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -17,6 +17,10 @@ async function promptVSCode(projectPath, VSCodeCommand, vscode, yes, verbose) {
|
|
|
17
17
|
// so skip opening VSCode.
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
+
// The VSCode command does not work properly inside WSL on Windows.
|
|
21
|
+
if (process.platform === "linux") {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
20
24
|
const shouldOpenVSCode = await (0, prompt_1.getInputYesNo)("Do you want to open your new project in VSCode now?");
|
|
21
25
|
if (shouldOpenVSCode) {
|
|
22
26
|
openVSCode(projectPath, VSCodeCommand, verbose);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptVSCode.js","sourceRoot":"","sources":["../../../../../../packages/isaacscript-cli/src/commands/init/promptVSCode.ts"],"names":[],"mappings":";;;;AAAA,wDAAwB;AACxB,+CAA0C;AAC1C,qCAAuC;AACvC,yCAA6C;AAEtC,KAAK,UAAU,YAAY,CAChC,WAAmB,EACnB,aAAqB,EACrB,MAAe,EACf,GAAY,EACZ,OAAgB;IAEhB,IAAI,MAAM,EAAE;QACV,0FAA0F;QAC1F,UAAU,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAChD,OAAO;KACR;IAED,IAAI,GAAG,EAAE;QACP,8FAA8F;QAC9F,0BAA0B;QAC1B,OAAO;KACR;IAED,MAAM,gBAAgB,GAAG,MAAM,IAAA,sBAAa,EAC1C,qDAAqD,CACtD,CAAC;IACF,IAAI,gBAAgB,EAAE;QACpB,UAAU,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;KACjD;AACH,CAAC;
|
|
1
|
+
{"version":3,"file":"promptVSCode.js","sourceRoot":"","sources":["../../../../../../packages/isaacscript-cli/src/commands/init/promptVSCode.ts"],"names":[],"mappings":";;;;AAAA,wDAAwB;AACxB,+CAA0C;AAC1C,qCAAuC;AACvC,yCAA6C;AAEtC,KAAK,UAAU,YAAY,CAChC,WAAmB,EACnB,aAAqB,EACrB,MAAe,EACf,GAAY,EACZ,OAAgB;IAEhB,IAAI,MAAM,EAAE;QACV,0FAA0F;QAC1F,UAAU,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAChD,OAAO;KACR;IAED,IAAI,GAAG,EAAE;QACP,8FAA8F;QAC9F,0BAA0B;QAC1B,OAAO;KACR;IAED,mEAAmE;IACnE,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;QAChC,OAAO;KACR;IAED,MAAM,gBAAgB,GAAG,MAAM,IAAA,sBAAa,EAC1C,qDAAqD,CACtD,CAAC;IACF,IAAI,gBAAgB,EAAE;QACpB,UAAU,CAAC,WAAW,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;KACjD;AACH,CAAC;AA9BD,oCA8BC;AAED,SAAS,UAAU,CACjB,WAAmB,EACnB,aAAqB,EACrB,OAAgB;IAEhB,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,mBAAO,CAAC,CAAC;IAC5D,IAAA,gBAAS,EAAC,aAAa,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AACjE,CAAC"}
|