Skip to content

Commit 27688b4

Browse files
committed
fix(linting): no-unused-vars
1 parent 02de832 commit 27688b4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/fixer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module.exports = {
139139
}
140140
},
141141

142-
fixDependencies: function (data, strict) {
142+
fixDependencies: function (data) {
143143
objectifyDeps(data, this.warn)
144144
addOptionalDepsToDeps(data, this.warn)
145145
this.fixBundleDependenciesField(data)
@@ -415,7 +415,7 @@ function parsePerson (person) {
415415
return obj
416416
}
417417

418-
function addOptionalDepsToDeps (data, warn) {
418+
function addOptionalDepsToDeps (data) {
419419
var o = data.optionalDependencies
420420
if (!o) {
421421
return

lib/normalize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function normalize (data, warn, strict) {
2626
strict = false
2727
}
2828
if (!warn || data.private) {
29-
warn = function (msg) { /* noop */ }
29+
warn = function () { /* noop */ }
3030
}
3131

3232
if (data.scripts &&

0 commit comments

Comments
 (0)