Merge pull request #2190 from prathamesh-sonpatki/doc-_shouldIgnore

Added documentation for _shouldIgnore method
This commit is contained in:
Sebastian McKenzie 2015-08-11 18:11:31 +01:00
commit ef29444571

View File

@ -126,7 +126,8 @@ export function shouldIgnore(filename: string, ignore: Array, only): boolean {
}
/**
* [Please add a description.]
* Returns result of calling function with filename if pattern is a function.
* Otherwise returns result of matching pattern Regex with filename.
*/
function _shouldIgnore(pattern, filename) {