Skip to content

Commit 93efd67

Browse files
committed
fix: bug fix as per sonar cloud
1 parent 8b12450 commit 93efd67

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/rover.types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
type TcrudMethods = "put" | "get" | "post" | "delete" | "options"
2-
interface curdObject {
2+
interface IcurdObject {
33
path: string
44
methods: Array<TcrudMethods>
55
resourcetype: string
66
}
77
export interface IstackDetailsObject {
88
type: string
9-
params: curdObject | object
9+
params: IcurdObject | object
1010
componentList: Array<string>
1111
stackName: string
1212
}

src/roverCLI/roverGenerateCLI.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function addComponentCLI() {
8888
i = i + 1
8989
} while (moreStack !== "No")
9090
console.log(JSON.stringify(template))
91-
await rover_addComponent.addComponents(<IroveraddComponentInput>template)
91+
await rover_addComponent.addComponents(template)
9292
}
9393
export async function addModuleCLI() {
9494
const res = await roverADD()
@@ -119,6 +119,7 @@ export async function addModuleCLI() {
119119
file_name,
120120
selectedchoice[0]
121121
)
122+
console.log(samResources)
122123
const moduletemplate = <IroveraddModule>(
123124
await createModules(app_name, language, "")
124125
)
@@ -158,5 +159,5 @@ export async function addModuleCLI() {
158159
}
159160
template["file_name"] = file_name
160161
console.log(JSON.stringify(template))
161-
await rover_addModules.addModules(<IroveraddModule>template)
162+
await rover_addModules.addModules(template)
162163
}

0 commit comments

Comments
 (0)