Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b0f577d

Browse files
committedMar 11, 2025·
fix: remove unnecessary reference to selectedProject
1 parent e7d5236 commit b0f577d

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed
 

‎src/helpers/setUpEdgeFunction.js

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ const getProject = (angularJson, failBuild, isNxWorkspace = false) => {
2626
const selectedProject = process.env.ANGULAR_PROJECT
2727

2828
if (isNxWorkspace) {
29-
if (!selectedProject) {
30-
return failBuild(``)
31-
}
32-
3329
return angularJson
3430
}
3531

‎tests/fixtures/nx-angular-19-app-engine/netlify.toml

-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
command="npm run build"
33
ignore="exit 1" ## always build, there might be changes in the plugin
44

5-
[build.environment]
6-
ANGULAR_PROJECT="nx-angular-19-app-engine"
7-
85
[[plugins]]
96
package="@netlify/angular-runtime"

‎tests/fixtures/nx-angular-19-common-engine/netlify.toml

-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
command="npm run build"
33
ignore="exit 1" ## always build, there might be changes in the plugin
44

5-
[build.environment]
6-
ANGULAR_PROJECT="nx-angular-19-common-engine"
7-
85
[[plugins]]
96
package="@netlify/angular-runtime"

0 commit comments

Comments
 (0)
Please sign in to comment.