We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81a6f88 + 0fde1cc commit cd4f150Copy full SHA for cd4f150
index.js
@@ -55,11 +55,11 @@ module.exports = function (opts) {
55
var contents = file.contents.toString();
56
57
if (opts.fix) {
58
- fixResults = checker.fixString(contents, file.relative);
+ fixResults = checker.fixString(contents, file.path);
59
errors = fixResults.errors;
60
file.contents = new Buffer(fixResults.output);
61
} else {
62
- errors = checker.checkString(contents, file.relative);
+ errors = checker.checkString(contents, file.path);
63
}
64
65
var errorList = errors.getErrorList();
0 commit comments