export-table-pulgin-csharp 1.1.125 → 1.1.126

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.
@@ -246,7 +246,7 @@ ${(0, export_table_lib_1.foreach)(tables.sort((ta, tb) => ta.name.localeCompare(
246
246
  `;
247
247
  let savePath = paras.outPath + "/DefaultConfigLoader.cs";
248
248
  fs.outputFileSync(savePath, temp, "utf-8");
249
- var options = new commander_1.default.Command().option("--litedbpath <string>").parse(process.argv).opts();
249
+ var options = new commander_1.default.Command().option("--litedbpath <string>").parse(process.argv).allowUnknownOption(true).opts();
250
250
  let litedbpath = options["litedbpath"];
251
251
  console.log(`litedbpath: ${litedbpath}`);
252
252
  let cmdParas = tables.map(table => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.1.125",
3
+ "version": "1.1.126",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {},
@@ -249,7 +249,7 @@ ${foreach(tables.sort((ta, tb) => ta.name.localeCompare(tb.name)), (table) => `
249
249
  let savePath = paras.outPath + "/DefaultConfigLoader.cs";
250
250
  fs.outputFileSync(savePath, temp, "utf-8");
251
251
 
252
- var options = new program.Command().option("--litedbpath <string>").parse(process.argv).opts()
252
+ var options = new program.Command().option("--litedbpath <string>").parse(process.argv).allowUnknownOption(true).opts()
253
253
  let litedbpath = options["litedbpath"]
254
254
  console.log(`litedbpath: ${litedbpath}`);
255
255