@byh3071/vhk 1.6.4 → 1.6.5
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 +1 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -516,12 +516,7 @@ function isInteractive(opts) {
|
|
|
516
516
|
}
|
|
517
517
|
async function promptOrDefault(ask, fallback, opts) {
|
|
518
518
|
if (!isInteractive(opts)) return fallback;
|
|
519
|
-
|
|
520
|
-
return await ask();
|
|
521
|
-
} catch (err) {
|
|
522
|
-
if (isPromptAbortError(err)) return fallback;
|
|
523
|
-
throw err;
|
|
524
|
-
}
|
|
519
|
+
return await ask();
|
|
525
520
|
}
|
|
526
521
|
function ensureInteractive(hint = "") {
|
|
527
522
|
if (isInteractive()) return true;
|
package/package.json
CHANGED