@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.
Files changed (2) hide show
  1. package/dist/index.js +6 -0
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.9.74",
3
+ "version": "0.9.76",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",