Apply prefer-const lint rule
This commit is contained in:
1 parent
b43088c03c
commit
09e6a360af
26 files changed
+217
-215
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ function digest(username, password, uri, httpMethod, body, authHeader) {
|
||||
if (qop === "auth-int") ha2.update(":").update(body);
|
||||
ha2 = ha2.digest("hex");
|
||||
|
||||
let hash = crypto.createHash("md5");
|
||||
const hash = crypto.createHash("md5");
|
||||
hash
|
||||
.update(ha1)
|
||||
.update(":")
|
||||
|
||||
Reference in new issue
Block a user