Skip to content

Commit 0785b73

Browse files
committed
fix: npm init issue
1 parent c9fdfeb commit 0785b73

File tree

4 files changed

+48
-432
lines changed

4 files changed

+48
-432
lines changed

.vscode/settings.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
{
22
"workbench.colorCustomizations": {
3-
"titleBar.activeForeground": "#15202b",
4-
"titleBar.inactiveForeground": "#15202b99",
5-
"titleBar.activeBackground": "#a1a4ae",
6-
"titleBar.inactiveBackground": "#5B80EA99",
7-
"activityBar.activeBackground": "#122738",
8-
"activityBar.activeBorder": "#ffffff",
9-
"activityBar.background": "#122738",
10-
"activityBar.foreground": "#ffffff",
11-
"activityBar.inactiveForeground": "#ffffff99",
12-
"activityBarBadge.background": "#FFC600",
13-
"activityBarBadge.foreground": "#000000",
14-
"statusBar.background": "#15252D",
15-
"statusBar.border": "#15252D",
16-
"statusBar.foreground": "#ffffff",
17-
"statusBarItem.hoverBackground": "#27a499",
18-
"titleBar.border": "#5B80EA"
3+
"activityBar.activeBorder": "#ffffff"
194
},
205
"typescript.preferences.importModuleSpecifier": "relative",
216
"workbench.iconTheme": "file-icons",

cli-main/util.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,14 @@ Object.assign(temp,ele)
359359
})
360360
sam=temp
361361
sam["language"]=lang
362-
let no_of_env = await inputNumber("no_of_env","environments/branch");
362+
let no_of_env = await inputNumber("no_of_env","environments");
363363
let envs: string[] = [];
364364
let steps: any = {};
365365
let stacknames: any = {};
366366
let deploymentregion: any = {};
367367
let deploymentparameters: any = {};
368368
let depBucketNames: any = {};
369+
let branches = { "branches":["main"]}
369370
for (let i = 1; i <= no_of_env; i++) {
370371
let env = await inputString(`env${i}`,"",false,`Envrionment ${i} :`);
371372
let envName = env[`env${i}`];
@@ -417,6 +418,7 @@ Object.assign(temp,ele)
417418
...accesskey,
418419
...secretkey,
419420
envs,
421+
...branches,
420422
...framework,
421423
steps,
422424
stackname: { ...stacknames },

0 commit comments

Comments
 (0)