mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(package) open v7.0.0
This commit is contained in:
parent
c44b1f66ee
commit
3560f5483e
2 changed files with 4 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue