Cleanup lint/cruft
This commit is contained in:
parent
b94a66916e
commit
b70bdaa26b
|
@ -159,16 +159,8 @@ client.on('error', function (err) {
|
|||
});
|
||||
|
||||
client.bind(parsed.binddn, parsed.password, function (err, res) {
|
||||
if (err)
|
||||
if (err) {
|
||||
perror(err);
|
||||
|
||||
var finished = 0;
|
||||
function callback(err) {
|
||||
if (err)
|
||||
perror(err);
|
||||
|
||||
if (++finished === parsed.file.length)
|
||||
client.unbind(function () { return; });
|
||||
}
|
||||
|
||||
vasync.forEachPipeline({
|
||||
|
|
|
@ -656,7 +656,7 @@ test('search paged', function (t) {
|
|||
t.test('paged - redundant control', function (t2) {
|
||||
try {
|
||||
client.search(SUFFIX, {
|
||||
paged: { pageSize: 100 },
|
||||
paged: { pageSize: 100 }
|
||||
}, new ldap.PagedResultsControl(),
|
||||
function (err, res) {
|
||||
t2.fail();
|
||||
|
|
Loading…
Reference in New Issue