mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports.InvalidCredentialsError = InvalidCredentialsError
|
||||
module.exports.login = function(options, username, password) {
|
||||
function tryConnect() {
|
||||
var resolver = Promise.defer()
|
||||
, client = ldap.createClient({
|
||||
var client = ldap.createClient({
|
||||
url: options.url
|
||||
, timeout: options.timeout
|
||||
, maxConnections: 1
|
||||
@@ -44,7 +44,7 @@ module.exports.login = function(options, username, password) {
|
||||
|
||||
function tryFind(client) {
|
||||
var resolver = Promise.defer()
|
||||
, query = {
|
||||
var query = {
|
||||
scope: options.search.scope
|
||||
, filter: new ldap.AndFilter({
|
||||
filters: [
|
||||
|
||||
Reference in New Issue
Block a user