Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: nodejs#41256 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
- Loading branch information