diff --git a/cmds/open.js b/cmds/open.js index b0dbf0c8c..ad55b3480 100644 --- a/cmds/open.js +++ b/cmds/open.js @@ -19,6 +19,7 @@ exports.run = function(opts) { return (opts.mockOpen || open)(config.hub.replace('{project}', project), { wait: false, + url: true, }).then(() => { console.log(`Opening ${config.hub.replace('{project}', project).green} in your browser...`); }); diff --git a/package-lock.json b/package-lock.json index 340fe3218..af8133dff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4444,9 +4444,9 @@ "dev": true }, "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz", + "integrity": "sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog==" }, "isarray": { "version": "1.0.0", @@ -5934,6 +5934,19 @@ "yamljs": "^0.2.8" }, "dependencies": { + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" + }, + "open": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", + "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", + "requires": { + "is-wsl": "^1.1.0" + } + }, "yamljs": { "version": "0.2.10", "resolved": "https://registry.npmjs.org/yamljs/-/yamljs-0.2.10.tgz", @@ -6268,11 +6281,11 @@ } }, "open": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", - "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/open/-/open-7.0.0.tgz", + "integrity": "sha512-K6EKzYqnwQzk+/dzJAQSBORub3xlBTxMz+ntpZpH/LyCa1o6KjXhuN+2npAaI9jaSmU3R1Q8NWf4KUWcyytGsQ==", "requires": { - "is-wsl": "^1.1.0" + "is-wsl": "^2.1.0" } }, "openapi-schemas": { diff --git a/package.json b/package.json index 4c9d7c7ac..c999d339a 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "gray-matter": "^4.0.1", "isemail": "^3.1.3", "oas": "^1.0.1", - "open": "^6.4.0", + "open": "^7.0.0", "read": "^1.0.7", "request": "^2.88.0", "request-promise-native": "^1.0.5",