Skip to content

Commit ff45a10

Browse files
elliotttfwooldridge
authored andcommitted
Fix code style for conditionals
1 parent 3d25b0e commit ff45a10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/marklogic.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,16 +620,14 @@ function initClient(client, inputParams) {
620620
}
621621
});
622622
connectionParams.agent = new YAgent.SSL(agentOptions);
623-
}
624-
else {
623+
} else {
625624
connectionParams.agent = inputParams.agent;
626625
}
627626
} else {
628627
client.request = http.request;
629628
if (noAgent) {
630629
connectionParams.agent = new YAgent(agentOptions);
631-
}
632-
else {
630+
} else {
633631
connectionParams.agent = inputParams.agent;
634632
}
635633
}

0 commit comments

Comments
 (0)