auto-fix prefer-const

This commit is contained in:
Thomas Grainger 2017-05-02 23:06:28 +01:00
parent 5b03a84be8
commit 15aea9e9ea
No known key found for this signature in database
GPG key ID: 995EA0A029283160
5 changed files with 14 additions and 14 deletions

View file

@ -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,