Skip to content

Commit

Permalink
Always verbose in dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Feb 21, 2020
1 parent d9b02db commit 423f91b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/dots/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ var installCmd = cobra.Command{
verbose, _ := cmd.Flags().GetBool("verbose")
dryRun, _ := cmd.Flags().GetBool("dry-run")

if dryRun {
verbose = true
}

dotfiles := resolver.ResolveDotfiles(*sourceConfig, *sourceLockfile).Filter(args)
prepared := installer.PrepareDotfiles(dotfiles, *sourceConfig)

Expand Down

0 comments on commit 423f91b

Please sign in to comment.