scancscode 1.0.51 → 1.0.53

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.
@@ -1,2 +1,4 @@
1
1
  "use strict";
2
- console.log("lkwje");
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const CmdExecutor_1 = require("./CmdExecutor");
4
+ CmdExecutor_1.CmdExecutor.runTranslateCsvWithCmdOptions();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -149,8 +149,8 @@ export class CmdExecutor {
149
149
  if (appId == null) {
150
150
  console.error(`appId missing:`, argv);
151
151
  return;
152
- }
153
- await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
152
+ }
153
+ await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
154
154
  console.log("translate csv with cmd options done.");
155
155
  }
156
156
  }
@@ -1 +1,3 @@
1
- console.log("lkwje")
1
+ import { CmdExecutor } from "./CmdExecutor";
2
+
3
+ CmdExecutor.runTranslateCsvWithCmdOptions()