Skip to content

Commit

Permalink
fixing alecthomas#137 fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
torbenschinke committed Apr 9, 2021
1 parent 8a3641a commit 19c06f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes.go
Expand Up @@ -52,7 +52,7 @@ func decorate(err *error, pos *lexer.Position, name func() string) {
}

if pos == nil {
*err = fmt.Errorf("%s: %w", name(), err)
*err = fmt.Errorf("%s: %w", name(), *err)
return
}

Expand Down

0 comments on commit 19c06f8

Please sign in to comment.