[ci skip] functionbuilder again
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
@@ -138,7 +138,7 @@ func init() {
|
||||
"cmds": [
|
||||
{
|
||||
"action": "foreach",
|
||||
"exec": "/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) \"\" }} \"input.json\" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName \"{{ .Item.Name }}\" -outputFilename '{{ .OutFilename }}'",
|
||||
"exec": "/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) \"\" }} \"input.json\" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName \"{{ .Item.Name }}\" -outputFilename '{{ .Body.OutFilename }}'",
|
||||
"loop": ".Sheets",
|
||||
"print": true,
|
||||
"silent": false
|
||||
@@ -302,7 +302,7 @@ func init() {
|
||||
"cmds": [
|
||||
{
|
||||
"action": "foreach",
|
||||
"exec": "/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) \"\" }} \"input.json\" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName \"{{ .Item.Name }}\" -outputFilename '{{ .OutFilename }}'",
|
||||
"exec": "/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) \"\" }} \"input.json\" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName \"{{ .Item.Name }}\" -outputFilename '{{ .Body.OutFilename }}'",
|
||||
"loop": ".Sheets",
|
||||
"print": true,
|
||||
"silent": false
|
||||
|
@@ -185,7 +185,7 @@ func runCommand0(ctx context.Context,
|
||||
params.DirektivDir,
|
||||
}
|
||||
|
||||
cmd, err := templateString(`/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) "" }} "input.json" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName "{{ .Item.Name }}" -outputFilename '{{ .OutFilename }}'`, ls)
|
||||
cmd, err := templateString(`/bin/json2excel -inputJson {{- if eq (deref .Item.Infile) "" }} "input.json" {{- else }} {{ .Item.Infile }} {{- end }} -worksheetName "{{ .Item.Name }}" -outputFilename '{{ .Body.OutFilename }}'`, ls)
|
||||
if err != nil {
|
||||
ir := make(map[string]interface{})
|
||||
ir[successKey] = false
|
||||
|
Reference in New Issue
Block a user