Skip to content

Commit a63da6c

Browse files
author
STAFYNIAK Sacha
committed
update eslint to v2
1 parent 8ac598d commit a63da6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"grunt-browserify": "^4.0.1",
3636
"grunt-contrib-jshint": "^0.11.3",
3737
"grunt-contrib-uglify": "0.11.0",
38-
"gruntify-eslint": "^1.0.1",
38+
"gruntify-eslint": "^2.0.0",
3939
"istanbul": "0.4.2",
4040
"istanbul-middleware": "0.2.2",
4141
"mocha": "2.3.4",

src/security/kuzzleSecurityDocument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ KuzzleSecurityDocument.prototype.update = function (content, options, cb) {
135135
data._id = self.id;
136136
data.body = content;
137137

138-
self.kuzzle.query(this.kuzzleSecurity.buildQueryArgs(this.updateActionName), data, options, function (error, res) {
138+
self.kuzzle.query(this.kuzzleSecurity.buildQueryArgs(this.updateActionName), data, options, function (error) {
139139
if (error) {
140140
return cb ? cb(error) : false;
141141
}

0 commit comments

Comments
 (0)