[covargs] Always send the command into debug log
The verbosity is now controlled by the -level option.
Change-Id: Ic61effca34d8e0e2377f9f65ca561482addd1843
diff --git a/cmd/covargs/main.go b/cmd/covargs/main.go
index 17d09af..8fd1a4d 100644
--- a/cmd/covargs/main.go
+++ b/cmd/covargs/main.go
@@ -207,9 +207,7 @@
}
func (a Action) Run(ctx context.Context) ([]byte, error) {
- if dryRun {
- logger.Debugf(ctx, "%s\n", a.String())
- }
+ logger.Debugf(ctx, "%s\n", a.String())
if !dryRun {
return exec.Command(a.Path, a.Args...).CombinedOutput()
}