mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Remove unnecessary params parameter to shared.flattenLists/forEachLine.
This commit is contained in:
parent
942cc9af08
commit
748c8cac17
15 changed files with 15 additions and 15 deletions
|
|
@ -211,7 +211,7 @@ function makeTokenCache(params) {
|
|||
module.exports.makeTokenCache = makeTokenCache;
|
||||
|
||||
// Calls the provided function for each line (with context)
|
||||
module.exports.forEachLine = function forEachLine(params, callback) {
|
||||
module.exports.forEachLine = function forEachLine(callback) {
|
||||
// Invoke callback
|
||||
tokenCache.params.lines.forEach(function forLine(line, lineIndex) {
|
||||
var metadata = tokenCache.lineMetadata[lineIndex];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue