Skip to content

Commit

Permalink
Use non-deprecated vfile.message method
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 5, 2019
1 parent e62a8cf commit aa97afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function simplify(options) {
}
}

message = file.warn(reason, {
message = file.message(reason, {
start: position.start(match[0]),
end: position.end(match[match.length - 1])
})
Expand Down

0 comments on commit aa97afe

Please sign in to comment.