Skip to content

Commit 0e8c05e

Browse files
committed
lint JS files
1 parent a81093a commit 0e8c05e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function executeMany(sql, bindsOrNumIters, a3, a4) {
198198
nodbUtil.assert(typeof sql === 'string', 'NJS-006', 1);
199199
if (typeof bindsOrNumIters === 'number') {
200200
nodbUtil.assert(Number.isInteger(bindsOrNumIters) && bindsOrNumIters > 0,
201-
'NJS-005', 2);
201+
'NJS-005', 2);
202202
} else {
203203
nodbUtil.assert(Array.isArray(bindsOrNumIters), 'NJS-006', 2);
204204
}

lib/pool.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function checkRequestQueue() {
9898
}
9999

100100
completeConnectionRequest.call(self, payload.config,
101-
payload.getConnectionCb);
101+
payload.getConnectionCb);
102102
}
103103

104104
// onRequestTimeout is used to prevent requests for connections from sitting in the
@@ -139,7 +139,7 @@ function getConnection(a1, a2) {
139139

140140
nodbUtil.assert(arguments.length >= 1 && arguments.length <= 2, 'NJS-009');
141141
nodbUtil.assert(typeof getConnectionCb === 'function', 'NJS-006',
142-
arguments.length);
142+
arguments.length);
143143

144144
// Optional JSON parameter
145145
if (arguments.length > 1 ) {

0 commit comments

Comments
 (0)