Nixinova / LinguistJS

Analyse and list all languages used in a folder. Implementation of and powered by GitHub's Linguist.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vendored files are not properly excluded in v2.7.0-pre

Nixinova opened this issue · comments

C:\Users\Nixinova\Documents\GitHub\Linguist>echo "v2.6.1" && linguist -a test -j -t files
v2.6.1
{
  count: 4,
  bytes: 6224,
  results: {
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/expected.json': 'JSON',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/folder.js': 'JavaScript',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/perf.js': 'JavaScript',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/unit.js': 'JavaScript'
  },
  alternatives: {}
}

C:\Users\Nixinova\Documents\GitHub\Linguist>echo "v2.7.0-pre" && node bin -a test -j -t files
v2.7.0-pre
{
  count: 5,
  bytes: 6228,
  results: {
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/expected.json': 'JSON',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/folder.js': 'JavaScript',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/perf.js': 'JavaScript',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/unit.js': 'JavaScript',
    'C:/Users/Nixinova/Documents/GitHub/Linguist/test/samples/package-lock.json': 'JSON'
  },
  alternatives: {}
}

Closing as intended: Part of the earlier Fixed gitattributes rules from parent folders being erroneously applied. fix