ht-skills 0.2.2 → 0.2.3
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/lib/cli.js +3 -3
- package/package.json +1 -1
package/lib/cli.js
CHANGED
|
@@ -242,7 +242,7 @@ function summarizePreviewErrors(preview) {
|
|
|
242
242
|
async function promptToOpenBrowser(url, deps = {}) {
|
|
243
243
|
const ask = deps.ask || null;
|
|
244
244
|
if (ask) {
|
|
245
|
-
await ask(
|
|
245
|
+
await ask("Press ENTER to open in the browser...");
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -259,7 +259,7 @@ async function promptToOpenBrowser(url, deps = {}) {
|
|
|
259
259
|
output: process.stdout,
|
|
260
260
|
});
|
|
261
261
|
try {
|
|
262
|
-
await rl.question(
|
|
262
|
+
await rl.question("Press ENTER to open in the browser...");
|
|
263
263
|
} finally {
|
|
264
264
|
rl.close();
|
|
265
265
|
}
|
|
@@ -1279,7 +1279,7 @@ async function cmdLogin(flags, deps = {}) {
|
|
|
1279
1279
|
throw new Error("registry did not return a usable CLI login flow");
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
|
-
log(`
|
|
1282
|
+
log(`Authenticate your account at:\n${browserUrl}`);
|
|
1283
1283
|
await promptToOpenBrowser(browserUrl, deps);
|
|
1284
1284
|
|
|
1285
1285
|
try {
|