From ccd1a4319d17472d30cd6bd01b7f19a039de37ea Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 21 Nov 2024 19:18:26 +0530 Subject: [PATCH] lint --- src/locker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locker.js b/src/locker.js index 8f817c6b6..6d6f511b0 100644 --- a/src/locker.js +++ b/src/locker.js @@ -24,7 +24,7 @@ Locker.prototype.lock = function (operation) { assert.strictEqual(typeof operation, 'string'); if (this._operation !== null) { - let error = new BoxError(BoxError.CONFLICT, `Locked for ${this._operation}`); + const error = new BoxError(BoxError.CONFLICT, `Locked for ${this._operation}`); error.operation = this._operation; return error; }