@polka-codes/runner 0.9.74 → 0.9.76
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/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40499,7 +40499,7 @@ var {
|
|
|
40499
40499
|
Help
|
|
40500
40500
|
} = import__.default;
|
|
40501
40501
|
// package.json
|
|
40502
|
-
var version = "0.9.
|
|
40502
|
+
var version = "0.9.76";
|
|
40503
40503
|
|
|
40504
40504
|
// src/runner.ts
|
|
40505
40505
|
import { execSync } from "node:child_process";
|
|
@@ -69200,6 +69200,12 @@ ${content}`;
|
|
|
69200
69200
|
});
|
|
69201
69201
|
},
|
|
69202
69202
|
askFollowupQuestion: async (question, answerOptions) => {
|
|
69203
|
+
if (options.yes) {
|
|
69204
|
+
if (answerOptions.length > 0) {
|
|
69205
|
+
return answerOptions[0];
|
|
69206
|
+
}
|
|
69207
|
+
return "";
|
|
69208
|
+
}
|
|
69203
69209
|
if (answerOptions.length === 0) {
|
|
69204
69210
|
return await dist_default3({ message: question });
|
|
69205
69211
|
}
|