Skip to content
Permalink
Browse files

Merge pull request #2 from gtklocker/fix-dry-run-output

dry run output: Println -> Printf as intended
  • Loading branch information...
bradfitz committed Jul 28, 2018
2 parents 93cce7e + 39e0915 commit 878a35cf680aeb9cc63a5c0c0d52c7b83f70554a
Showing with 1 addition and 1 deletion.
  1. +1 −1 fs.go
2 fs.go
@@ -73,7 +73,7 @@ func (e fsResizer) DepResizer() (Resizer, error) {

func (e fsResizer) Resize() error {
if *dry {
fmt.Println("[dry-run] would've run %v %v", e.cmd.Path, e.cmd.Args)
fmt.Printf("[dry-run] would've run %v %v\n", e.cmd.Path, e.cmd.Args)
return nil
}
out, err := e.cmd.CombinedOutput()

0 comments on commit 878a35c

Please sign in to comment.
You can’t perform that action at this time.