scancscode 1.0.52 → 1.0.54

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.
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CmdExecutor = void 0;
7
+ const CsvAutoTranslator_1 = require("./CsvAutoTranslator");
7
8
  const CSVUtils_1 = require("./CSVUtils");
8
9
  const LiteralCollector_1 = require("./LiteralCollector");
9
10
  const command_line_args_1 = __importDefault(require("command-line-args"));
@@ -148,7 +149,7 @@ class CmdExecutor {
148
149
  console.error(`appId missing:`, argv);
149
150
  return;
150
151
  }
151
- // await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
152
+ await CsvAutoTranslator_1.CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
152
153
  console.log("translate csv with cmd options done.");
153
154
  }
154
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -150,7 +150,7 @@ export class CmdExecutor {
150
150
  console.error(`appId missing:`, argv);
151
151
  return;
152
152
  }
153
- // await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
153
+ await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
154
154
  console.log("translate csv with cmd options done.");
155
155
  }
156
156
  }