Skip to content

Commit

Permalink
fix: log when files are being included
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 19, 2024
1 parent 2acf44f commit fc36664
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sshconfig/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"sync"
"time"

"github.com/charmbracelet/log"
"github.com/charmbracelet/wishlist"
"github.com/charmbracelet/wishlist/home"
"github.com/gobwas/glob"
Expand Down Expand Up @@ -229,6 +230,7 @@ func parseInternal(r io.Reader) (*hostinfoMap, error) {
if err != nil {
return nil, err //nolint: wrapcheck
}
log.Info("Using configuration file (via includes)", "path", path)
included, err := parseFileInternal(path)
if err != nil {
if errors.Is(err, os.ErrNotExist) {
Expand Down

0 comments on commit fc36664

Please sign in to comment.