@proagentstore/cli 0.1.25 → 0.1.26
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1241,9 +1241,9 @@ async function waitForKey(keys) {
|
|
|
1241
1241
|
process.exit(0);
|
|
1242
1242
|
}
|
|
1243
1243
|
const val = (str || "").trim().toLowerCase();
|
|
1244
|
-
if (keys.includes(val)) {
|
|
1244
|
+
if (keys.length === 0 || keys.includes(val) || key?.name && keys.includes(key.name)) {
|
|
1245
1245
|
cleanup();
|
|
1246
|
-
resolve5(val);
|
|
1246
|
+
resolve5(val || key?.name || "");
|
|
1247
1247
|
}
|
|
1248
1248
|
};
|
|
1249
1249
|
const cleanup = () => {
|
|
@@ -1406,7 +1406,7 @@ var upCommand = new Command7("up").description("Start the browser runner for all
|
|
|
1406
1406
|
}
|
|
1407
1407
|
writeLine("");
|
|
1408
1408
|
writeLine(" Press any key to go back...");
|
|
1409
|
-
await waitForKey([
|
|
1409
|
+
await waitForKey([]);
|
|
1410
1410
|
printStatus(state);
|
|
1411
1411
|
}
|
|
1412
1412
|
if (key === "r") {
|