@ijuantm/simpl-addon 2.8.0 → 2.8.1
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/install.js +1 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -156,7 +156,7 @@ const listAddons = (addons) => addons.forEach((name, i) => out(PAD + C.cyan + `$
|
|
|
156
156
|
const confirmSuggestion = async (suggestion) => {
|
|
157
157
|
line();
|
|
158
158
|
while (true) {
|
|
159
|
-
const a = (await promptUser(PAD + `${C.cyan}◌${C.reset} ${C.dim}Did you mean${C.reset} ${C.cyan}${suggestion}${C.reset}${C.dim}
|
|
159
|
+
const a = (await promptUser(PAD + `${C.cyan}◌${C.reset} ${C.dim}Did you mean${C.reset} ${C.cyan}${suggestion}${C.reset}${C.dim}? ([Y] Yes /${C.reset} [N] No${C.dim})${C.reset}`, 'n')).toLowerCase();
|
|
160
160
|
if (['y', 'yes'].includes(a)) return true;
|
|
161
161
|
if (['n', 'no'].includes(a)) return false;
|
|
162
162
|
warn('Please answer [Y] Yes or [N] No)');
|