Skip to content

Commit 2cd4eb2

Browse files
committed
fix: dependencies placeholder replace
1 parent c054bbd commit 2cd4eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/compo/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ async function compoAction(
316316
}
317317
}
318318

319-
if (xfuncjsStep.input.spec.dependencies === "__DEPENDENCIES__") {
319+
if (xfuncjsStep.input.spec.source.dependencies === ("__DEPENDENCIES__" as any)) {
320320
// Check for package.json in the function directory
321321
let dependencies: Record<string, string> = {}
322322
const packageJsonPath = path.join(functionDir, "package.json")

0 commit comments

Comments
 (0)