Skip to content

Commit

Permalink
feat: export extension param fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed May 23, 2022
1 parent edaefe8 commit c13538e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eoapi",
"version": "1.0.0",
"version": "1.0.1",
"main": "src/app/electron-main/main.js",
"description": "A lightweight, extensible API tool",
"homepage": "https://github.com/eolinker/eoapi.git",
Expand Down Expand Up @@ -64,4 +64,4 @@
"node-module-alias": {
"eo": "./src"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class ExportApiComponent implements OnInit {
if (result.status === StorageHandleStatus.success) {
result.data.version = packageJson.version;
try {
const output = module[action](result.data);
const output = module[action](result || {});
this.transferTextToFile(filename, output);
callback(true);
} catch (e) {
Expand Down

0 comments on commit c13538e

Please sign in to comment.