Skip to content

Commit b3f5783

Browse files
authored
Fix monorepo build args split
Currently in the buildpack our build args are joined together using "," instead of ".", so MONOREPO_BUILD_ARGS should split by commas.
1 parent cbeec0b commit b3f5783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@apphosting/common/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function getBuildOptions(): BuildOptions {
128128
if (process.env.MONOREPO_COMMAND) {
129129
return {
130130
buildCommand: process.env.MONOREPO_COMMAND,
131-
buildArgs: ["run", "build"].concat(process.env.MONOREPO_BUILD_ARGS?.split(".") || []),
131+
buildArgs: ["run", "build"].concat(process.env.MONOREPO_BUILD_ARGS?.split(",") || []),
132132
projectDirectory: process.env.GOOGLE_BUILDABLE || "",
133133
projectName: process.env.MONOREPO_PROJECT,
134134
};

0 commit comments

Comments
 (0)