chore: use Boolean to filter empty (#228)
This commit is contained in:
@@ -68,7 +68,7 @@ async function build(target) {
|
||||
args.types ? `TYPES:true` : ``,
|
||||
prodOnly ? `PROD_ONLY:true` : ``
|
||||
]
|
||||
.filter(_ => _)
|
||||
.filter(Boolean)
|
||||
.join(',')
|
||||
],
|
||||
{ stdio: 'inherit' }
|
||||
|
||||
Reference in New Issue
Block a user