* An "includes" path "foo" is implicitly a glob "foo/** /*" (without the space) if its last component has no extension, * and does not contain any glob characters itself.
(lastPathComponent)
| 20549 | * and does not contain any glob characters itself. |
| 20550 | */ |
| 20551 | function isImplicitGlob(lastPathComponent) { |
| 20552 | return !/[.*?]/.test(lastPathComponent); |
| 20553 | } |
| 20554 | ts.isImplicitGlob = isImplicitGlob; |
| 20555 | function getPatternFromSpec(spec, basePath, usage) { |
| 20556 | var pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]); |
no test coverage detected