Skip to content

Commit 043b3c9

Browse files
committed
fix: key undefined
1 parent 5e05345 commit 043b3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.suite-cli/cli/scripts/scripts.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ const scaffoldGateways = async ({ answers }) => {
16431643
const { projectName } = readFileContent({ currentDir: cwd() });
16441644
let { apps } = answers;
16451645
const project_root = generatRootPath({ currentDir: cwd() });
1646-
const service_objects = getExistingComponent({ key, currentDir: cwd() });
1646+
const service_objects = getExistingComponent({ key:'services', currentDir: cwd() });
16471647
// add port to services in each app eg ['auth']=>[{name:'auth',port:9001}]
16481648
apps = apps.map((app) => {
16491649
app.services.map((name, i) => {

0 commit comments

Comments
 (0)