fix(linter): checking command is specified (#26908)
This commit is contained in:
parent
3a5e0ddfef
commit
a9c2f16bee
@ -322,6 +322,7 @@ function isMigrationToMonorepoNeeded(tree: Tree, graph: ProjectGraph): boolean {
|
|||||||
targetConfig.executor
|
targetConfig.executor
|
||||||
) ||
|
) ||
|
||||||
(targetConfig.executor === 'nx:run-commands' &&
|
(targetConfig.executor === 'nx:run-commands' &&
|
||||||
|
targetConfig.options?.command &&
|
||||||
targetConfig.options?.command.startsWith('eslint '))
|
targetConfig.options?.command.startsWith('eslint '))
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user