Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Release 0.26.3
Browse files Browse the repository at this point in the history
  • Loading branch information
talwat committed Apr 30, 2022
1 parent 2638d66 commit 663e8e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"treefetch",
"Uninst",
"uninstallation",
"varcheck"
"varcheck",
"ztrue"
],
"python.formatting.provider": "black",
"cSpell.enableFiletypes": [
Expand Down
2 changes: 1 addition & 1 deletion input.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
)

const version = "0.26.2"
const version = "0.26.3"

var purge, debug, assumeYes, force, noDeps bool = false, false, false, false, false

Expand Down
4 changes: 2 additions & 2 deletions logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func errorLog(err error, msg string, params ...interface{}) {
log(4, msg)
log(4, "Source error log:")
errLog := tracerr.SprintSourceColor(tracerr.Wrap(err), 9)
for _, line := range strings.Split(errLog, "\n")[2:] {
for _, line := range strings.Split(errLog, "\n\n")[2:] {
fmt.Println(" " + line)
}
os.Exit(1)
Expand Down Expand Up @@ -99,7 +99,7 @@ func errorLogNewlineBefore(err error, msg string, params ...interface{}) {
chapLog("=>", "RED", "Error")
log(4, msg)
log(4, "Source error log:")
errLog := tracerr.SprintSourceColor(tracerr.Wrap(err), 9)
errLog := tracerr.SprintSourceColor(tracerr.Wrap(err), 6)
for _, line := range strings.Split(errLog, "\n")[2:] {
fmt.Println(" " + line)
}
Expand Down

0 comments on commit 663e8e2

Please sign in to comment.