Skip to content

Commit

Permalink
bump yal and update error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot committed Aug 9, 2022
1 parent 8514026 commit 4b0a553
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/charmbracelet/bubbles v0.13.0
github.com/charmbracelet/bubbletea v0.22.0
github.com/charmbracelet/lipgloss v0.5.0
github.com/hay-kot/yal v0.0.1
github.com/hay-kot/yal v0.0.2
github.com/jwalton/go-supportscolor v1.1.0
github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739
github.com/sahilm/fuzzy v0.1.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.1 h1:r/myEWzV9lfsM1tFLgDyu0atFtJ1fXn261LKY
github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/hay-kot/yal v0.0.1 h1:nDHm5iW720DPKo2Jf5oevx3qdYkCO6o0cVjgHESzuFM=
github.com/hay-kot/yal v0.0.1/go.mod h1:Z/kZ0WXr9cdcDNR0uWMPbZXFY7S6Pgc03KKhVhS3vvI=
github.com/hay-kot/yal v0.0.2 h1:Ytunt/g5KflujJ03dLTPFpEMjvYAomezD7kWq7AZNMs=
github.com/hay-kot/yal v0.0.2/go.mod h1:Z/kZ0WXr9cdcDNR0uWMPbZXFY7S6Pgc03KKhVhS3vvI=
github.com/jwalton/go-supportscolor v1.1.0 h1:HsXFJdMPjRUAx8cIW6g30hVSFYaxh9yRQwEWgkAR7lQ=
github.com/jwalton/go-supportscolor v1.1.0/go.mod h1:hFVUAZV2cWg+WFFC4v8pT2X/S2qUUBYMioBD9AINXGs=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
Expand Down
3 changes: 1 addition & 2 deletions gofind/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ func NewCache(dir string) Cache {
err := os.MkdirAll(p, 0755)

if err != nil {
yal.Errorf("os.MkdirAll(p=%s) failed with error '%s'", p, err.Error())
yal.Fatal(err)
yal.Fatalf("os.MkdirAll(p=%s) failed with error '%s'", p, err.Error())
}
}

Expand Down

0 comments on commit 4b0a553

Please sign in to comment.