laxy-verify 1.1.3 → 1.1.4
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/auth.js +3 -2
- package/package.json +1 -1
package/dist/auth.js
CHANGED
|
@@ -139,10 +139,11 @@ async function login(emailArg) {
|
|
|
139
139
|
});
|
|
140
140
|
const email = emailArg?.trim() ?? (await ask(" 이메일: "));
|
|
141
141
|
const password = await askMuted(" 비밀번호: ");
|
|
142
|
-
// 입력 완료 후 stdin 핸들
|
|
142
|
+
// 입력 완료 후 stdin 핸들 해제 (Windows UV_HANDLE_CLOSING Assertion 방지)
|
|
143
|
+
// destroy()는 rl.close()와 충돌하므로 unref()로 이벤트루프 참조만 제거
|
|
143
144
|
rl.removeAllListeners();
|
|
144
145
|
rl.close();
|
|
145
|
-
process.stdin.
|
|
146
|
+
process.stdin.unref();
|
|
146
147
|
console.log("\n 로그인 중...");
|
|
147
148
|
let res;
|
|
148
149
|
try {
|