We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a6f5db commit 8cbbcd0Copy full SHA for 8cbbcd0
src/compiler/core.ts
@@ -938,7 +938,7 @@ namespace ts {
938
* [^./] # matches everything up to the first . character (excluding directory seperators)
939
* (\\.(?!min\\.js$))? # matches . characters but not if they are part of the .min.js file extension
940
*/
941
- const singleAsteriskRegexFragmentFiles = "([^./]*(\\.(?!min\\.js$))?)*";
+ const singleAsteriskRegexFragmentFiles = "([^./]|(\\.(?!min\\.js$))?)*";
942
const singleAsteriskRegexFragmentOther = "[^/]*";
943
944
export function getRegularExpressionForWildcard(specs: string[], basePath: string, usage: "files" | "directories" | "exclude") {
0 commit comments