Skip to content

Commit abe9b1e

Browse files
committed
perf: unnecessary async function
1 parent 6f87093 commit abe9b1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/connection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ class Connection {
2323
}
2424
}
2525

26-
async rollback() {
26+
rollback() {
2727
return this._connection.rollback();
2828
}
29-
async commit() {
29+
commit() {
3030
return this._connection.commit();
3131
}
32-
async close() {
32+
close() {
3333
return this._connection.close();
3434
}
3535
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "egg-oracle",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "Oracle database plugin for egg",
55
"eggPlugin": {
66
"name": "oracle"

0 commit comments

Comments
 (0)