fix: 修复CodeQL检测到的代码问题
This commit is contained in:
@@ -223,6 +223,7 @@ function copyEngineModulesPlugin(): Plugin {
|
||||
for (const pattern of includes) {
|
||||
// Convert glob pattern to regex
|
||||
const regexPattern = pattern
|
||||
.replace(/\\/g, '\\\\')
|
||||
.replace(/\./g, '\\.')
|
||||
.replace(/\*/g, '.*')
|
||||
.replace(/\?/g, '.');
|
||||
|
||||
Reference in New Issue
Block a user