Skip to content

Commit c29fbdb

Browse files
committed
Extraction: Log destination file
1 parent 82e986f commit c29fbdb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

command/dashboard/extract.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func Extract(params *ExtractParams) error {
7070
params.Outfile = &outfile
7171
}
7272

73+
logrus.Infof("Extracting template in file: %s", *params.Outfile)
7374
err = template.ToFile(templ, *params.Outfile, params.Format)
7475
if err != nil {
7576
return fmt.Errorf("saving template: %w", err)

command/thing/extract.go

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func Extract(params *ExtractParams) error {
7070
params.Outfile = &outfile
7171
}
7272

73+
logrus.Infof("Extracting template in file: %s", *params.Outfile)
7374
err = template.ToFile(templ, *params.Outfile, params.Format)
7475
if err != nil {
7576
return fmt.Errorf("saving template: %w", err)

0 commit comments

Comments
 (0)