Skip to content

Commit

Permalink
fix: 🐛output wd if --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Apr 17, 2024
1 parent 22b6073 commit 6d806e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ func (c globalCmd) Run() error {
if err != nil {
return err
}
fmt.Fprintln(os.Stderr, wd)

if c.Debug {
fmt.Fprintln(os.Stderr, wd)
}

if !c.Debug && c.All {
st, err := wt.Status()
Expand Down

0 comments on commit 6d806e1

Please sign in to comment.