mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-28 03:39:13 +02:00
Fix all JSHint complaints in Node.js code.
This commit is contained in:
@@ -43,6 +43,6 @@ db.close = function() {
|
||||
// Small utility for running queries without having to acquire a connection
|
||||
db.run = function(q, options) {
|
||||
return db.connect().then(function(conn) {
|
||||
return rutil.run(conn, q)
|
||||
return rutil.run(conn, q, options)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user