feature(package) open v7.0.0

This commit is contained in:
coderaiser 2019-10-16 12:34:02 +03:00
parent c44b1f66ee
commit 3560f5483e
2 changed files with 4 additions and 2 deletions

View file

@ -141,7 +141,7 @@
"object.omit": "^3.0.0",
"once": "^1.4.0",
"onezip": "^3.0.0",
"open": "^6.0.0",
"open": "^7.0.0",
"package-json": "^6.0.0",
"ponse": "^3.0.0",
"pullout": "^4.0.0",

View file

@ -84,7 +84,9 @@ module.exports = async (options, config) => {
if (!config('open'))
return;
const [openError] = await tryToCatch(opn, url);
const [openError] = await tryToCatch(opn, url, {
url: true,
});
if (openError)
console.error('cloudcmd --open:', openError.message);