tokenforbes-cli 0.1.0 → 0.1.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/bin.js +1 -1
- package/package.json +1 -1
package/bin.js
CHANGED
|
@@ -68,7 +68,7 @@ async function link() {
|
|
|
68
68
|
die('\n登录超时或验证码已过期,重新跑一次 npx tokenforbes-cli link');
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
function sleep(ms) { return new Promise((r) => setTimeout(r, ms)); }
|
|
72
72
|
|
|
73
73
|
function openBrowser(url) {
|
|
74
74
|
const opener = process.platform === 'darwin' ? 'open'
|