Skip to content

Commit 0c284ee

Browse files
committed
fix: nx handling
1 parent 7fb6080 commit 0c284ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/setUpEdgeFunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const getProject = (angularJson, failBuild, isNxWorkspace = false, projectName =
6060
module.exports.getProject = getProject
6161

6262
const getBuildInformation = (angularJson, failBuild, workspaceType) => {
63-
const projectName = getProjectName(angularJson, failBuild)
63+
const projectName = workspaceType === 'nx' ? '' : getProjectName(angularJson, failBuild)
6464
const project = getProject(angularJson, failBuild, workspaceType === 'nx', projectName)
6565

6666
let { outputPath } = workspaceType === 'nx' ? project.targets.build.options : project.architect.build.options

0 commit comments

Comments
 (0)