Fixed broken singleAsteriskRegex. Fixes #9918 (#9920)

This commit is contained in:
Anatoly Ressin authored and Richard Knoll committed 2016-07-26 15:38:31 -07:00
1 parent 591959507a
commit d182d7fa8d
1 file changed
+1 -1
+1 -1
View File
@@ -928,7 +928,7 @@ namespace ts {
* [^./] # matches everything up to the first . character (excluding directory seperators)
* (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension
*/
const singleAsteriskRegexFragmentFiles = "([^./]*(\\.(?!min\\.js$))?)*";
const singleAsteriskRegexFragmentFiles = "([^./]|(\\.(?!min\\.js$))?)*";
const singleAsteriskRegexFragmentOther = "[^/]*";
export function getRegularExpressionForWildcard(specs: string[], basePath: string, usage: "files" | "directories" | "exclude") {