Skip to content

Commit 31383bb

Browse files
committed
refactor: remove console statements
1 parent a5b142e commit 31383bb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.suite-cli/cli/cli.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ program
272272
break;
273273
case 'gateway':
274274
const all_apps = getExistingApps({ currentDir: cwd() });
275-
console.log({all_apps})
276275
const formatAppsName = (app) => app.name;
277276
prompt([
278277
{

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,6 @@ const readFileContent = ({ currentDir }) => {
14761476
const root_dir = generatRootPath({ currentDir, height: 5 })
14771477
// Read the project configuration file
14781478
const configPath = resolve(root_dir, 'suite.json');
1479-
console.log(currentDir,'d')
14801479
const project_config = JSON.parse(readFileSync(configPath, 'utf8'));
14811480
return project_config
14821481
}
@@ -1627,14 +1626,16 @@ const getDependencies = ({ type, workspace }) => {
16271626

16281627

16291628
const scaffoldGateways = async ({ answers }) => {
1630-
console.log({answers})
16311629
const { webserver } = readFileContent({ currentDir: cwd() });
16321630
const { projectName } = readFileContent({ currentDir: cwd() });
16331631
const { apps } = answers;
16341632
const project_root = generatRootPath({ currentDir: cwd() });
16351633

16361634
await Promise.all(apps.map(async (app) => {
1637-
return scaffoldGateway({ project_root, app, webserver, projectName })
1635+
console.log('---------------------------------------------')
1636+
console.log(`🦧${app.name}-gateway`)
1637+
return scaffoldGateway({ project_root, app, answers, webserver, projectName })
1638+
16381639
}))
16391640
}
16401641

0 commit comments

Comments
 (0)