Skip to content

Commit 84ad4ee

Browse files
committed
Read the Node's value instead of the Node itself
1 parent 5c018ac commit 84ad4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/update-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class UpdateManager {
138138
var status = kb.each(response, this.ns.http('status'))
139139
if (status.length) {
140140
for (let i = 0; i < status.length; i++) {
141-
if (status[i] === 200 || status[i] === 404) {
141+
if (status[i].value === '200' || status[i].value === '404') {
142142
definitive = true
143143
// return false // A definitive answer
144144
}

0 commit comments

Comments
 (0)