Skip to content

Commit cdb1961

Browse files
committed
Small change to make debugging easier
1 parent 79dbc39 commit cdb1961

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cmd/internal/converters/deployment_process_converter.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,12 @@ func (c DeploymentProcessConverter) toHcl(resource octopus.DeploymentProcess, re
145145
for i, s := range resource.Steps {
146146
for j, a := range s.Actions {
147147
properties := a.Properties
148-
hcl.WriteActionProperties(block, i, j, c.removeUnnecessaryActionFields(c.replaceIds(c.escapePercents(c.escapeDollars(sanitizer2.SanitizeMap(properties))), dependencies)))
148+
sanitizedProperties := sanitizer2.SanitizeMap(properties)
149+
sanitizedProperties = c.escapeDollars(sanitizedProperties)
150+
sanitizedProperties = c.escapePercents(sanitizedProperties)
151+
sanitizedProperties = c.replaceIds(sanitizedProperties, dependencies)
152+
sanitizedProperties = c.removeUnnecessaryActionFields(sanitizedProperties)
153+
hcl.WriteActionProperties(block, i, j, sanitizedProperties)
149154
}
150155
}
151156

wasm/convert_project.wasm

16 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)