We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6d7635 commit 62466d8Copy full SHA for 62466d8
bin/reformat.go
@@ -64,7 +64,7 @@ func doReformat() error {
64
}
65
66
query := `
67
- LET Reformatted = SELECT reformat(artifact=read_file(filename=_value)) AS Result
+ SELECT reformat(artifact=read_file(filename=_value)) AS Result
68
FROM foreach(row=Artifacts)
69
WHERE if(condition=Result.Error,
70
then=log(level="ERROR", message="%v: <red>%v</>",
@@ -74,9 +74,6 @@ func doReformat() error {
74
AND NOT DryRun
75
AND copy(accessor="data", dest=_value, filename=Result.Artifact))
76
AND FALSE
77
-
78
- SELECT * FROM Reformatted
79
80
`
81
err = runQueryWithEnv(query, builder, "json")
82
if err != nil {
0 commit comments