@polka-codes/cli-shared 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 +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63732,6 +63732,12 @@ ${content}`;
|
|
|
63732
63732
|
});
|
|
63733
63733
|
},
|
|
63734
63734
|
askFollowupQuestion: async (question, answerOptions) => {
|
|
63735
|
+
if (options.yes) {
|
|
63736
|
+
if (answerOptions.length > 0) {
|
|
63737
|
+
return answerOptions[0];
|
|
63738
|
+
}
|
|
63739
|
+
return "";
|
|
63740
|
+
}
|
|
63735
63741
|
if (answerOptions.length === 0) {
|
|
63736
63742
|
return await dist_default3({ message: question });
|
|
63737
63743
|
}
|