Nixinova / LinguistJS

Analyse and list all languages used in a folder. Implementation of and powered by GitHub's Linguist.
ISC License
35 stars 11 forks source link

Fallback to using packaged data files if fetch fails #21

Closed Nixinova closed 1 year ago

Nixinova commented 1 year ago

Fetching the data files is a critical part of Linguist, so if the fetch fails when not in offline mode it should default to using the cached data files instead of just crashing.

Maybe have a data file version hash key in the results?