Skip to content

Commit a79e9fc

Browse files
committed
inverted "if" statement to remove "continue"
1 parent 2ab907e commit a79e9fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/http-auth-interceptor.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@
123123
retryAll: function(updater) {
124124
for (var i = 0; i < buffer.length; ++i) {
125125
var _cfg = updater(buffer[i].config);
126-
if (_cfg === false)
127-
continue;
128-
retryHttpRequest(_cfg, buffer[i].deferred);
126+
if (_cfg !== false)
127+
retryHttpRequest(_cfg, buffer[i].deferred);
129128
}
130129
buffer = [];
131130
}

0 commit comments

Comments
 (0)