Skip to content

Commit cbe2683

Browse files
committed
fix: remove unnecessary reference to selectedProject
1 parent fbdb3b2 commit cbe2683

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

Diff for: 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

Diff for: 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"

Diff for: 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)