Skip to content

Commit a3eeb2f

Browse files
committed
Fix the ending curly brace in to_string
1 parent e7f71eb commit a3eeb2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

governance/third-generation/common-functions/tfplan-functions/tfplan-functions.sentinel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,10 @@ to_string = func(obj) {
234234
if index < lastIndex {
235235
output += to_string(key) + ": " + to_string(obj[key]) + ", "
236236
} else {
237-
output += to_string(key) + ": " + to_string(obj[key]) + "}"
237+
output += to_string(key) + ": " + to_string(obj[key])
238238
}
239239
}
240+
output += "}"
240241
return output
241242
else:
242243
return ""

0 commit comments

Comments
 (0)