Skip to content

Commit 0c66ec0

Browse files
committed
fix: simplified the sambuild function
1 parent ca661d0 commit 0c66ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/cliUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export const samBuilds = async function (lang: string) {
206206
""
207207
)
208208
const temp: Record<string, Record<string, string>> = {}
209-
Object.values(sam).map((ele) => {
209+
Object.values(sam).forEach((ele) => {
210210
Object.assign(temp, ele)
211211
})
212212
sam = temp

0 commit comments

Comments
 (0)