mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(package) open v8.0.2
This commit is contained in:
parent
bb3e07def3
commit
b5618412c3
2 changed files with 2 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue