mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: permissions for the browser CLI (#9731)
This commit is contained in:
parent
a9a2e26bea
commit
e944931de2
@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
"command": "tsc -b",
|
"command": "tsc -b && chmod a+x lib/cjs/browsers.js lib/esm/browsers.js",
|
||||||
"files": [
|
"files": [
|
||||||
"src/**/*.ts",
|
"src/**/*.ts",
|
||||||
"tsconfig.json"
|
"tsconfig.json"
|
||||||
|
@ -149,6 +149,8 @@ export class CLI {
|
|||||||
choices: Object.values(BrowserPlatform),
|
choices: Object.values(BrowserPlatform),
|
||||||
defaultDescription: 'Auto-detected by default.',
|
defaultDescription: 'Auto-detected by default.',
|
||||||
})
|
})
|
||||||
|
.demandCommand(1)
|
||||||
|
.help()
|
||||||
.parse();
|
.parse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user