feature(package) open v8.0.2

This commit is contained in:
coderaiser 2021-03-16 17:46:21 +02:00
parent bb3e07def3
commit b5618412c3
2 changed files with 2 additions and 4 deletions

View file

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

View file

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