Skip to content

Commit

Permalink
TritonDataCenter#94 nics.test.js failing due to double callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsell Kukuljevic committed May 23, 2021
1 parent 64e367e commit 927d39f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/nics.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/*
* Copyright 2020 Joyent, Inc.
* Copyright 2021 Spearhead Systems S.R.L.
*/

/*
Expand Down Expand Up @@ -617,8 +618,10 @@ function deleteTestNetwork(t, data, fixture, cb) {
next(err);
return;
});
} else {
next();
return;
}
next();
}
]}, cb);
}
Expand Down

0 comments on commit 927d39f

Please sign in to comment.