You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if the entry point was foo.ts, and the user typoed it to be fooo.ts, then Knip should immediately show a warning. Failing fast is important, as it potentially save the end-user a bunch of troubleshooting time.
The text was updated successfully, but these errors were encountered:
The entry file options are patterns/globs, might contain wildcards, and try to find matching items on the file system. They're not meant to throw exceptions, just an array of matching files on disc.
What Knip could do however, is print a warning if there are exactly zero matches.
For example, if the entry point was
foo.ts
, and the user typoed it to befooo.ts
, then Knip should immediately show a warning. Failing fast is important, as it potentially save the end-user a bunch of troubleshooting time.The text was updated successfully, but these errors were encountered: