Handle numbers in env more gracefully
1 files changed, 2 insertions(+), 0 deletions(-) M worker/tasks.go
M worker/tasks.go => worker/tasks.go +2 -0
@@ 173,6 173,8 @@ export JOB_ID=%d switch v := value.(type) { case string: env += fmt.Sprintf("export %s=%s\n", key, v) + case float64: + env += fmt.Sprintf("export %s=%g\n", key, v) case []interface{}: env += key + "=(" for i, _item := range v {