Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sahithibanda01 committed Dec 3, 2024
1 parent 78f17f1 commit 9d1164f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/runtime/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func getOutputsCmd(entrypoint []string, outputVars []*api.OutputV2, outputFile s
} else if isPython {
cmd += fmt.Sprintf("with open('%s', 'a') as out_file:\n\tout_file.write('%s=' + os.getenv('%s') + '\\n')\n", outputFile, o.Key, o.Value)
} else {
cmd += fmt.Sprintf("\necho \"%s=$%s\" >> %s", o.Key, o.Value, outputFile)
cmd += fmt.Sprintf("\necho \"%s='$%s'\" >> %s", o.Key, o.Value, outputFile)
}
}

Expand Down

0 comments on commit 9d1164f

Please sign in to comment.