sim 2.1.1-preview.44.1 → 2.1.2-preview.46.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/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15353,7 +15353,6 @@ function promptSecret(input = process.stdin, output = process.stderr) {
|
|
|
15353
15353
|
if (!input.isTTY) {
|
|
15354
15354
|
throw new SimApiError("Interactive secret input requires a terminal. Pass --value instead.", 0);
|
|
15355
15355
|
}
|
|
15356
|
-
const wasPaused = input.isPaused();
|
|
15357
15356
|
const wasRaw = input.isRaw;
|
|
15358
15357
|
let value = "";
|
|
15359
15358
|
let settled = false;
|
|
@@ -15365,8 +15364,7 @@ function promptSecret(input = process.stdin, output = process.stderr) {
|
|
|
15365
15364
|
const cleanup = () => {
|
|
15366
15365
|
input.removeListener("keypress", onKeypress);
|
|
15367
15366
|
input.setRawMode(wasRaw);
|
|
15368
|
-
|
|
15369
|
-
input.pause();
|
|
15367
|
+
input.pause();
|
|
15370
15368
|
};
|
|
15371
15369
|
const finish = (complete) => {
|
|
15372
15370
|
if (settled)
|