Skip to content

Commit cf57279

Browse files
committed
chore: wip
1 parent d8641bb commit cf57279

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

packages/nx-plugin/src/plugin/plugin.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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';
88
import { PROJECT_JSON_FILE_NAME } from '../internal/constants';
99
import { createTargets } from './target/targets';
1010
import type { CreateNodesOptions } from './types';
@@ -38,9 +38,8 @@ export const createNodes: CreateNodes = [
3838

3939
export 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
];

0 commit comments

Comments
 (0)