Skip to content

Commit 7659d44

Browse files
committed
Lint JS files
1 parent c62cdd7 commit 7659d44

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

examples/insert2.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ async function run() {
4646

4747
await connection1.execute(
4848
`BEGIN
49-
EXECUTE IMMEDIATE 'DROP TABLE test';
50-
EXCEPTION WHEN OTHERS THEN
51-
IF SQLCODE <> -942 THEN
52-
RAISE;
53-
END IF;
49+
EXECUTE IMMEDIATE 'DROP TABLE test';
50+
EXCEPTION WHEN OTHERS THEN
51+
IF SQLCODE <> -942 THEN
52+
RAISE;
53+
END IF;
5454
END;`);
5555
console.log("Table dropped");
5656

examples/refcursortoquerystream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function run() {
4747
SELECT department_id, department_name
4848
FROM departments;
4949
END;`,
50-
{
50+
{
5151
cursor: {
5252
type: oracledb.CURSOR,
5353
dir: oracledb.BIND_OUT

lib/aqDeqOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class AqDeqOptions {
2323

24-
_extend(oracledb) {
24+
_extend(oracledb) { //eslint-disable-line
2525
}
2626

2727
}

lib/aqEnqOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class AqEnqOptions {
2323

24-
_extend(oracledb) {
24+
_extend(oracledb) { //eslint-disable-line
2525
}
2626

2727
}

lib/aqMessage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class AqMessage {
2323

24-
_extend(oracledb) {
24+
_extend(oracledb) { //eslint-disable-line
2525
}
2626

2727
}

lib/aqQueue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function deqMany(maxMessages, cb) {
5454
function enqOne(message, cb) {
5555
nodbUtil.assert(arguments.length === 2, 'NJS-009');
5656
nodbUtil.assert(typeof message === 'object' || typeof message === 'string',
57-
'NJS-005', 1);
57+
'NJS-005', 1);
5858
nodbUtil.assert(typeof cb === 'function', 'NJS-005', 2);
5959

6060
this._enqOne(message, cb);

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function execute(sql, a2, a3, a4) {
151151
processImplicitResult(ix + 1);
152152
}
153153
);
154-
};
154+
}
155155
processImplicitResult(0);
156156
} else {
157157
if (result.implicitResults) {

lib/pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function setup(poolAttrs, poolAlias, oracledb) {
457457
status: { // open/closing/closed
458458
enumerable: true,
459459
get: function() {
460-
return this._status
460+
return this._status;
461461
}
462462
},
463463
sessionCallback: { // session callback

0 commit comments

Comments
 (0)