Skip to content

Commit 4f904ef

Browse files
Review comments added.
1 parent 7bfa36a commit 4f904ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/automation_client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ AutomationApiClient.prototype.getSessionsOfBuild = async function (params) {
570570
// };
571571

572572
// fetching top builds sorted by descending order of their build ids
573-
if (!!!params) {
573+
if (!params) {
574574
return {
575575
success: false,
576576
error: "Build/Session params are required",
@@ -580,7 +580,7 @@ AutomationApiClient.prototype.getSessionsOfBuild = async function (params) {
580580
}
581581

582582
// check for mandatory parameters
583-
if (!!!params.buildName) {
583+
if (!params.buildName) {
584584
return {
585585
success: false,
586586
error: "Build name is required",
@@ -607,7 +607,7 @@ AutomationApiClient.prototype.getSessionsOfBuild = async function (params) {
607607
};
608608
}
609609

610-
if (!!!builds.data || _.isEmpty(builds.data)) {
610+
if (!builds.data || _.isEmpty(builds.data)) {
611611
return {
612612
success: false,
613613
error: "No build data found",

0 commit comments

Comments
 (0)