Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntian committed Oct 21, 2023
1 parent a3ba0ee commit db035a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,4 +367,4 @@ class Base {

}

export default Base;
export default Base;
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const config = {
};


async function aa() {
async function testAPI() {
const base = new Base(config);
await base.auth();
const data = await base.query('select * from Table1');
fs.writeFileSync('./abc.json', JSON.stringify(data, null, 2))
}

aa();
testAPI();

0 comments on commit db035a7

Please sign in to comment.