This commit is contained in:
@@ -117,7 +117,7 @@ func init() {
|
|||||||
"cmds": [
|
"cmds": [
|
||||||
{
|
{
|
||||||
"action": "exec",
|
"action": "exec",
|
||||||
"exec": "/bin/json2excel -inFile input.json -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'",
|
"exec": "/bin/json2excel -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'",
|
||||||
"print": true,
|
"print": true,
|
||||||
"silent": false
|
"silent": false
|
||||||
},
|
},
|
||||||
@@ -276,7 +276,7 @@ func init() {
|
|||||||
"cmds": [
|
"cmds": [
|
||||||
{
|
{
|
||||||
"action": "exec",
|
"action": "exec",
|
||||||
"exec": "/bin/json2excel -inFile input.json -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'",
|
"exec": "/bin/json2excel -worksheetName \"{{ .WorksheetName }}\" -outputFilename '{{ .OutFilename }}'",
|
||||||
"print": true,
|
"print": true,
|
||||||
"silent": false
|
"silent": false
|
||||||
},
|
},
|
||||||
|
@@ -176,7 +176,7 @@ func runCommand0(ctx context.Context,
|
|||||||
params.DirektivDir,
|
params.DirektivDir,
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd, err := templateString(`/bin/json2excel -inFile input.json -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}'`, at)
|
cmd, err := templateString(`/bin/json2excel -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}'`, at)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ri.Logger().Infof("error executing command: %v", err)
|
ri.Logger().Infof("error executing command: %v", err)
|
||||||
ir[resultKey] = err.Error()
|
ir[resultKey] = err.Error()
|
||||||
|
Reference in New Issue
Block a user