We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb0cc6 commit 72bed1bCopy full SHA for 72bed1b
command/dashboard/extract.go
@@ -65,7 +65,8 @@ func Extract(params *ExtractParams) error {
65
if name == "" || !ok {
66
return errors.New("dashboard template does not have a valid name")
67
}
68
- outfile := name + "-dashboard" + "." + params.Format
+ name = strings.Join(strings.Fields(name), "")
69
+ outfile := name + "-dashboard." + params.Format
70
params.Outfile = &outfile
71
72
command/thing/extract.go
return errors.New("thing template does not have a valid name")
- outfile := name + "." + params.Format
+ outfile := name + "-thing." + params.Format
0 commit comments