Commit 361e03a
committed
fix(scripts): hoist logger to module scope in check.mjs
Fixes ReferenceError where logger was undefined in main().catch() handler.
Logger was previously scoped only within runEslintCheck function but
used throughout the file.1 parent d9d6f85 commit 361e03a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments