Skip to content

Commit

Permalink
fix: update indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Oct 27, 2023
1 parent 47176fc commit 1032e87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions commands/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ func (x *InstallableApp) Write(data []byte) (n int, err error) {
}

func (x *InstallableApp) logDebug(msg string) {
x.SkipCycleErase = true
utils.LogDebug(msg)
if utils.LogDebugEnabled {
x.SkipCycleErase = true
utils.LogDebug(msg)
}
}

func (x *InstallableApp) PrintStatus() {
Expand Down

0 comments on commit 1032e87

Please sign in to comment.