Skip to content

Commit e5ab050

Browse files
committed
fix: provide failBuild to getProject calls
1 parent 70bbe7f commit e5ab050

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/helpers/fixOutputDir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { getProject } = require('./setUpEdgeFunction')
55

66
const fixOutputDir = async function ({ failBuild, failPlugin, siteRoot, PUBLISH_DIR, IS_LOCAL, netlifyConfig }) {
77
const angularJson = getAngularJson({ failPlugin, siteRoot })
8-
const project = getProject(angularJson)
8+
const project = getProject(angularJson, failBuild)
99

1010
const { outputPath } = project.architect.build.options
1111

src/helpers/serverModuleHelpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const fixServerTs = async function ({ angularVersion, siteRoot, failPlugin, fail
107107

108108
const angularJson = getAngularJson({ failPlugin, siteRoot })
109109

110-
const project = getProject(angularJson)
110+
const project = getProject(angularJson, failBuild)
111111
const {
112112
architect: { build },
113113
} = project

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = {
5151
const siteRoot = getAngularRoot({ failBuild, netlifyConfig })
5252
const angularJson = getAngularJson({ failPlugin, siteRoot })
5353

54-
const project = getProject(angularJson)
54+
const project = getProject(angularJson, failBuild)
5555
const {
5656
architect: { build },
5757
} = project

0 commit comments

Comments
 (0)