@yangrunchi/a_6 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/AutoCfg/csvcfg.js
CHANGED
|
@@ -356,21 +356,21 @@ function main() {
|
|
|
356
356
|
|
|
357
357
|
// 添加新增文件
|
|
358
358
|
console.log('检查并添加新增文件...');
|
|
359
|
-
|
|
359
|
+
//const addedTFiles = addNewFilesToSvn(tPath);
|
|
360
360
|
const addedServerFiles = addNewFilesToSvn(sPath);
|
|
361
361
|
const addedClientFiles = addNewFilesToSvn(cPath);
|
|
362
362
|
|
|
363
|
-
|
|
363
|
+
//console.log(`表格目录新增文件: ${addedTFiles.length} 个`);
|
|
364
364
|
console.log(`服务器目录新增文件: ${addedServerFiles.length} 个`);
|
|
365
365
|
console.log(`客户端目录新增文件: ${addedClientFiles.length} 个`);
|
|
366
366
|
|
|
367
367
|
// 标记删除文件
|
|
368
368
|
console.log('检查并标记删除的文件...');
|
|
369
|
-
|
|
369
|
+
//const deletedTFiles = markDeletedFiles(tPath);
|
|
370
370
|
const deletedServerFiles = markDeletedFiles(sPath);
|
|
371
371
|
const deletedClientFiles = markDeletedFiles(cPath);
|
|
372
372
|
|
|
373
|
-
|
|
373
|
+
//console.log(`表格目录删除文件: ${deletedTFiles.length} 个`);
|
|
374
374
|
console.log(`服务器目录删除文件: ${deletedServerFiles.length} 个`);
|
|
375
375
|
console.log(`客户端目录删除文件: ${deletedClientFiles.length} 个`);
|
|
376
376
|
|
|
@@ -378,10 +378,10 @@ function main() {
|
|
|
378
378
|
const hasContentChanges = checkContentChanges();
|
|
379
379
|
|
|
380
380
|
// 检查各目录是否有更改
|
|
381
|
-
|
|
381
|
+
//const hasTChanges = hasChanges(tPath);
|
|
382
382
|
const hasSChanges = hasChanges(sPath);
|
|
383
383
|
const hasCChanges = hasChanges(cPath);
|
|
384
|
-
const hasAnyChanges =
|
|
384
|
+
const hasAnyChanges = hasSChanges || hasCChanges;
|
|
385
385
|
|
|
386
386
|
// 定义 shouldCommit
|
|
387
387
|
const shouldCommit = hasAnyChanges && hasContentChanges;
|