eslint-watch icon indicating copy to clipboard operation
eslint-watch copied to clipboard

Enable error message that `eslint` is not installed

Open 10hendersonm opened this issue 2 years ago • 0 comments

What was the problem/Ticket Number

closes #183

How does this solve the problem?

Checks error.code (ENOENT) rather than error.errno (-2) when displaying error.

https://github.com/sindresorhus/execa#handling-errors

How to duplicate the issue

  1. mv node_modules/.bin/eslint node_modules/.bin/eslint.bak
  2. Call eslint-watch

10hendersonm avatar Jun 10 '22 16:06 10hendersonm