mirror of
https://github.com/iconify/iconify.git
synced 2025-01-12 18:01:19 +00:00
Fix running action with params in monorepo
This commit is contained in:
parent
fd6758414b
commit
d928002976
@ -40,7 +40,7 @@ interface ActionWithParam {
|
|||||||
}
|
}
|
||||||
const actionWithParamsFunctions: Record<string, (param: string) => void> = {
|
const actionWithParamsFunctions: Record<string, (param: string) => void> = {
|
||||||
run: (param: string) => {
|
run: (param: string) => {
|
||||||
const params = ['run', param].concat(runParams);
|
const params = ['run', param].concat(runParams || []);
|
||||||
runAction(`Running "npm ${params.join(' ')}"`, (workspace) => {
|
runAction(`Running "npm ${params.join(' ')}"`, (workspace) => {
|
||||||
if (
|
if (
|
||||||
!actionOptions.ifPresent ||
|
!actionOptions.ifPresent ||
|
||||||
|
Loading…
Reference in New Issue
Block a user