Merge pull request #4844 from tehciolo/tehciolo/init-undefined

Enable no-undef-init lint rule
This commit is contained in:
Bill Thornton
2023-10-16 16:33:43 -04:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export function fillImage(entry) {
throw new Error('entry cannot be null');
}
const target = entry.target;
let source = undefined;
let source;
if (target) {
source = target.getAttribute('data-src');