Skip to content

Commit 733f0aa

Browse files
committed
change method name
1 parent 62560f1 commit 733f0aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/htmlhintinline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = function (grunt) {
5858
});
5959
}
6060

61-
var tempFiles = lintinline.wrapReporter(options, this.filesSrc, ignore, patterns),
61+
var tempFiles = lintinline.lint(options, this.filesSrc, ignore, patterns),
6262
tempFilesLength = Object.keys(tempFiles).length,
6363
hintCount = 0, eachCount = 0;
6464

tasks/lib/inlinehint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function createTemporaryFiles(files, ignores, patterns) {
7474
return map;
7575
}
7676

77-
exports.wrapReporter = function wrapReporter(options, files, ignores, patterns) {
77+
exports.lint = function lint(options, files, ignores, patterns) {
7878
var mapTemporary = createTemporaryFiles(files, ignores, patterns || []);
7979
return mapTemporary;
8080
};

0 commit comments

Comments
 (0)