Commit 62e28f1
tools: use arrow function for callback in lint-sh.js
The function declaration inside an else block is odd (and violates a
recommended ESLint rule). We tend to use arrow functions for callbacks
anyway, so switch to that.
PR-URL: #41256
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent e2df381 commit 62e28f1Copy full SHA for 62e28f1
File tree
Expand file treeCollapse file tree
1 file changed
+2
-2
lines changedOpen diff view settings
Filter options
- tools
Expand file treeCollapse file tree
1 file changed
+2
-2
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
166 | 166 | |
167 | 167 | |
168 | 168 | |
169 | | - |
| 169 | + |
170 | 170 | |
171 | 171 | |
172 | 172 | |
173 | | - |
| 173 | + |
174 | 174 | |
175 | 175 | |
176 | 176 | |
|
0 commit comments