Skip to content

Commit

Permalink
fix(nx-spring-boot): fix undefined (reading 'applied') when generat…
Browse files Browse the repository at this point in the history
…ing the project graph

Closes #223
  • Loading branch information
tinesoft committed Apr 29, 2024
1 parent b8969de commit 03eaff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx-spring-boot/src/utils/plugin-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function getProjectTypeAndTargetsFromFile(
);
skipFormat = hasGradlePlugin(projectContent, SPOTLESS_GRADLE_PLUGIN_ID);
projectType =
getGradlePlugin(projectContent, 'org.springframework.boot').applied ===
getGradlePlugin(projectContent, 'org.springframework.boot')?.applied ===
false
? 'library'
: 'application';
Expand Down

0 comments on commit 03eaff2

Please sign in to comment.