Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silphid committed Jun 24, 2021
1 parent 7bba029 commit 30af412
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/internal/flags.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package yey

var (
IsDryRun bool
IsVerbose bool
IsDryRun bool
)
5 changes: 0 additions & 5 deletions src/internal/opts/opts.go

This file was deleted.

4 changes: 3 additions & 1 deletion src/internal/verbose.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import (
"os"
)

var ()
var (
IsVerbose bool
)

func Log(format string, a ...interface{}) {
if IsVerbose {
Expand Down

0 comments on commit 30af412

Please sign in to comment.