mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
auto-fix prefer-const
This commit is contained in:
@@ -38,7 +38,7 @@ import Chef from "../src/core/Chef.js";
|
||||
TestRegister.prototype.runTests = function() {
|
||||
return Promise.all(
|
||||
this.tests.map(function(test, i) {
|
||||
let chef = new Chef();
|
||||
const chef = new Chef();
|
||||
|
||||
return Promise.resolve(chef.bake(
|
||||
test.input,
|
||||
@@ -48,7 +48,7 @@ import Chef from "../src/core/Chef.js";
|
||||
false
|
||||
))
|
||||
.then(function(result) {
|
||||
let ret = {
|
||||
const ret = {
|
||||
test: test,
|
||||
status: null,
|
||||
output: null,
|
||||
|
||||
Reference in New Issue
Block a user