File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
packages/nx-plugin/src/plugin Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- import {
1+ import type {
22 CreateNodes ,
33 CreateNodesContext ,
44 CreateNodesResult ,
55 CreateNodesV2 ,
6- createNodesFromFiles ,
76} from '@nx/devkit' ;
7+ import { createNodesFromFiles } from '@nx/devkit' ;
88import { PROJECT_JSON_FILE_NAME } from '../internal/constants' ;
99import { createTargets } from './target/targets' ;
1010import type { CreateNodesOptions } from './types' ;
@@ -38,9 +38,8 @@ export const createNodes: CreateNodes = [
3838
3939export const createNodesV2 : CreateNodesV2 = [
4040 `**/${ PROJECT_JSON_FILE_NAME } ` ,
41-
42- async ( configFiles , options , context ) => {
43- return await createNodesFromFiles (
41+ async ( configFiles , options , context ) =>
42+ createNodesFromFiles (
4443 async ( globMatchingFile , internalOptions ) => {
4544 const parsedCreateNodesOptions = internalOptions as CreateNodesOptions ;
4645
@@ -60,6 +59,5 @@ export const createNodesV2: CreateNodesV2 = [
6059 configFiles ,
6160 options ,
6261 context ,
63- ) ;
64- } ,
62+ )
6563] ;
You can’t perform that action at this time.
0 commit comments