Skip to content

Commit 1e72b0e

Browse files
committed
refactor: fix lint
1 parent 9f3cefb commit 1e72b0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const createNodesV2: CreateNodesV2<CreateNodesOptions> = [
4848
): Promise<CreateNodesResultV2> => {
4949
const parsedCreateNodesOptions = createNodesOptions as CreateNodesOptions;
5050

51-
const results = await Promise.all(
51+
return await Promise.all(
5252
projectConfigurationFiles.map(async projectConfigurationFile => {
5353
const normalizedContext = await normalizedCreateNodesV2Context(
5454
context,
@@ -67,7 +67,5 @@ export const createNodesV2: CreateNodesV2<CreateNodesOptions> = [
6767
return [projectConfigurationFile, result] as const;
6868
}),
6969
);
70-
71-
return results;
7270
},
7371
];

0 commit comments

Comments
 (0)