scancscode 1.0.3 → 1.0.4

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.
@@ -102,7 +102,9 @@ class LiteralCollector {
102
102
  this.scanTablesInFolder(gameConfigFolder, literals, verbose);
103
103
  }
104
104
  this.filterLiterals(literals);
105
- console.log(literals);
105
+ if (verbose) {
106
+ console.log("扫描合并结果:", literals);
107
+ }
106
108
  await CSVUtils_1.CSVUtils.updateToFile(outCsvFile, literals, langs);
107
109
  for (const unexpect of unexpects) {
108
110
  console.error(unexpect);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -79,7 +79,9 @@ export class LiteralCollector {
79
79
  }
80
80
  this.filterLiterals(literals);
81
81
 
82
- console.log(literals);
82
+ if (verbose) {
83
+ console.log("扫描合并结果:", literals);
84
+ }
83
85
  await CSVUtils.updateToFile(outCsvFile, literals, langs);
84
86
  for (const unexpect of unexpects) {
85
87
  console.error(unexpect);