Skip to content

Commit

Permalink
fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Jun 25, 2020
1 parent 08fd8da commit 29b689a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ Synopsis:
if err, ok := err.(interface {
JSONParseError() (string, string, error)
}); ok {
fname, query, err := err.JSONParseError()
return &compileError{&jsonParseError{fname, query, err}}
fname, contents, err := err.JSONParseError()
return &compileError{&jsonParseError{fname, contents, err}}
}
return &compileError{err}
}
Expand Down

0 comments on commit 29b689a

Please sign in to comment.