Skip to content

Commit f8c425a

Browse files
author
John Doe
committed
refactor: adjust logic 2
1 parent 28c48dd commit f8c425a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export function createExecutorTarget(options?: {
99
const { bin, projectPrefix } = options ?? {};
1010

1111
const executor = `${PACKAGE_NAME}:cli`;
12-
const options = (bin || projectPrefix) && {
12+
const executorOptions = (bin || projectPrefix) && {
1313
...(bin && { bin }),
1414
...(projectPrefix && { projectPrefix }),
1515
};
16-
return { executor, ...(options && { options })};
16+
return { executor, ...(executorOptions && { options: executorOptions }) };
1717
}

0 commit comments

Comments
 (0)