Eslint prefer-const (#17864)

* adds prefer-const to eslint config and runs fixer

* reverts unintended change
This commit is contained in:
Jordan Reimer
2022-11-09 16:15:31 -07:00
committed by GitHub
parent 96d623d3fc
commit 483ef19946
464 changed files with 1701 additions and 1714 deletions

View File

@@ -2,7 +2,7 @@ import AdapterError from '@ember-data/adapter/error';
export default class ControlGroupError extends AdapterError {
constructor(wrapInfo) {
let { accessor, creation_path, creation_time, token, ttl } = wrapInfo;
const { accessor, creation_path, creation_time, token, ttl } = wrapInfo;
super();
this.message = 'Control Group encountered';