fix: permissions for the browser CLI (#9731)

This commit is contained in:
Alex Rudenko 2023-02-22 13:10:26 +01:00 committed by GitHub
parent a9a2e26bea
commit e944931de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
},
"wireit": {
"build": {
"command": "tsc -b",
"command": "tsc -b && chmod a+x lib/cjs/browsers.js lib/esm/browsers.js",
"files": [
"src/**/*.ts",
"tsconfig.json"

View File

@ -149,6 +149,8 @@ export class CLI {
choices: Object.values(BrowserPlatform),
defaultDescription: 'Auto-detected by default.',
})
.demandCommand(1)
.help()
.parse();
}