Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Commit 828aea4

Browse files
committed
Som minor cleanup
1 parent 87ceb35 commit 828aea4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ Parser.prototype._writeToList = function (line, filePath) {
9999
if (match) {
100100
this.listFile.write(filePath + ':' + match[1] + '\n');
101101
}
102-
}
102+
};
103103

104104
Parser.prototype._getMatch = function (line) {
105105
var matchCss = line.match(this.cssHref);
106106
var matchJs = line.match(this.jsSrc);
107107
return matchCss || matchJs || null;
108-
}
108+
};

lib/utils.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ module.exports = {
2020
_: _
2121
};
2222

23-
function read(filepath, encoding) {
23+
function read(filepath) {
2424
return fs.readFileSync(filepath, 'utf-8');
25-
};
25+
}
2626

2727
function exists(filepath) {
2828
return filepath && fs.existsSync(filepath);
29-
};
29+
}
3030

3131
// courtesy of grunt
3232
function mkdir(dirpath, mode) {
@@ -47,4 +47,4 @@ function mkdir(dirpath, mode) {
4747
}
4848
return parts;
4949
}, '');
50-
};
50+
}

0 commit comments

Comments
 (0)