Skip to content

Commit

Permalink
remove quote in debug code command
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar committed Mar 7, 2024
1 parent 5598fa0 commit 4551051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/protocols/code/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func interpretEnvVars(source string, vars map[string]interface{}) string {
// bash mode
if strings.Contains(source, "$") {
for k, v := range vars {
source = strings.ReplaceAll(source, "$"+k, fmt.Sprintf("'%s'", v))
source = strings.ReplaceAll(source, "$"+k, fmt.Sprintf("%s", v))
}
}
// python mode
Expand Down

0 comments on commit 4551051

Please sign in to comment.