engine7 7.1.62 → 7.1.63
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/dist/cli.mjs +4 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -19731,7 +19731,10 @@ function parseCcRunArgs(argv) {
|
|
|
19731
19731
|
return v;
|
|
19732
19732
|
};
|
|
19733
19733
|
if (a === "-p" || a === "--print") {
|
|
19734
|
-
|
|
19734
|
+
const next = argv[i + 1];
|
|
19735
|
+
if (next !== void 0 && !next.startsWith("-")) {
|
|
19736
|
+
args.prompt = takeValue();
|
|
19737
|
+
}
|
|
19735
19738
|
hasPrompt = true;
|
|
19736
19739
|
} else if (a === "--output-format") {
|
|
19737
19740
|
const v = takeValue();
|