You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* PTY-based npm execution for interactive commands (uses node-pty).
162
162
*
163
-
* - Web OTP - either opend URL in browser if openUrls is true or passes the URL to frontend. If no auth happend within AUTH_URL_TIMEOUT_MS kills the process to unlock the connector.
163
+
* - Web OTP - either open URL in browser if openUrls is true or passes the URL to frontend. If no auth happend within AUTH_URL_TIMEOUT_MS kills the process to unlock the connector.
164
164
*
165
-
* - Cli OTP - if we get a classic OTP prompt will either return OTP request to the frontend or will pass sent OTP if its provided
165
+
* - CLI OTP - if we get a classic OTP prompt will either return OTP request to the frontend or will pass sent OTP if its provided
166
166
*/
167
167
asyncfunctionexecNpmInteractive(
168
168
args: string[],
169
169
options: ExecNpmOptions={},
170
170
): Promise<NpmExecResult>{
171
-
constopenUrls=options.openUrls!==false
171
+
constopenUrls=options.openUrls===true
172
172
173
173
// Lazy-load node-pty so the native addon is only required when interactive mode is actually used.
174
174
constpty=awaitimport('@lydell/node-pty')
@@ -187,6 +187,7 @@ async function execNpmInteractive(
0 commit comments