wave-code 1.5.1 → 1.6.0

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/bin/wave-code.js CHANGED
@@ -26,6 +26,8 @@ if (process.argv.slice(2).some((a) => versionArgs.includes(a))) {
26
26
  // process as a bundled Electron app (bin index 0 instead of 1) and keeps the
27
27
  // script path in argv → `Unknown argument: <script>`. Mark the process as the
28
28
  // default Electron app so yargs parses argv exactly like plain node would.
29
+ // The bundle carries the same guard (src/utils/argvCompat.ts) for hosts that
30
+ // run dist/bundle/wave.mjs directly via WAVE_CLI_PATH; keep both.
29
31
  if (process.versions.electron && process.env.ELECTRON_RUN_AS_NODE === "1") {
30
32
  process.defaultApp = true;
31
33
  }