repowisestage 0.0.30 → 0.0.31
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/bin/repowise.js +6 -0
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -2542,6 +2542,12 @@ function multilineInput() {
|
|
|
2542
2542
|
const now = Date.now();
|
|
2543
2543
|
const elapsed = now - lastLineTime;
|
|
2544
2544
|
lastLineTime = now;
|
|
2545
|
+
const trimmed = line.trim().toLowerCase();
|
|
2546
|
+
if (trimmed === "done" || trimmed === "skip") {
|
|
2547
|
+
rl.close();
|
|
2548
|
+
resolve(trimmed);
|
|
2549
|
+
return;
|
|
2550
|
+
}
|
|
2545
2551
|
if (lines.length === 0) {
|
|
2546
2552
|
if (line === "") {
|
|
2547
2553
|
rl.close();
|