diff --git a/packages/app-builder-lib/src/fileMatcher.ts b/packages/app-builder-lib/src/fileMatcher.ts index 2f440123128..ac192cede6e 100644 --- a/packages/app-builder-lib/src/fileMatcher.ts +++ b/packages/app-builder-lib/src/fileMatcher.ts @@ -177,7 +177,7 @@ export function getMainFileMatchers( } patterns.splice(insertIndex, 0, ...customFirstPatterns) - patterns.push(`!**/*.{${excludedExts}${packager.config.includePdb === true ? "" : ",pdb"}`) + patterns.push(`!**/*.{${excludedExts}${packager.config.includePdb === true ? "" : ",pdb"}}`) patterns.push("!**/._*") patterns.push("!**/electron-builder.{yaml,yml,json,json5,toml}") patterns.push(`!**/{${excludedNames}}`)