Avoid analyzing excluded language files for line counting
This change passes in a list of file types to the line counting analysis. These are the languages for the databases being analyzed. Line count analysis is restricted to these files.
This commit is contained in:
parent
5c0a38d7e4
commit
ee2346270d
31 changed files with 436 additions and 49 deletions
6
node_modules/github-linguist/dist/file.d.ts
generated
vendored
6
node_modules/github-linguist/dist/file.d.ts
generated
vendored
|
|
@ -19,15 +19,11 @@ export declare class LocFile {
|
|||
private debug;
|
||||
path: string;
|
||||
private rawPath;
|
||||
private language;
|
||||
private languages;
|
||||
/**
|
||||
* Creates an instance of LocFile.
|
||||
*/
|
||||
constructor(rawPath: string, debug?: boolean);
|
||||
/**
|
||||
* get file type through a path
|
||||
*/
|
||||
private getType;
|
||||
private filterData;
|
||||
/**
|
||||
* Get file info when LocFile init
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue