mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 05:00:46 +00:00
revert: remove unused script modifications
This commit is contained in:
parent
e29aab478e
commit
2a432b18f7
3 changed files with 43 additions and 47 deletions
|
|
@ -49,10 +49,7 @@ function copyFilesRecursive(source, target, rootSourceDir) {
|
|||
const normalizedPath = relativePath.replace(/\\/g, '/');
|
||||
const isLocaleJs =
|
||||
ext === '.js' && normalizedPath.startsWith('i18n/locales/');
|
||||
const isInsightTemplate = normalizedPath.startsWith(
|
||||
'services/insight/templates/',
|
||||
);
|
||||
if (extensionsToCopy.includes(ext) || isLocaleJs || isInsightTemplate) {
|
||||
if (extensionsToCopy.includes(ext) || isLocaleJs) {
|
||||
fs.copyFileSync(sourcePath, targetPath);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue