Mercurial > code > home > repos > homeauto
comparison service/wifi/src/graph_access.ts @ 683:50d66febeeb0
build cleanup and reformats
Ignore-this: dcb2bb4a86eee1a298c644e0f81a7d0d
author | drewp@bigasterisk.com |
---|---|
date | Mon, 06 Jan 2020 23:47:30 -0800 |
parents | 6723f7ae8f34 |
children |
comparison
equal
deleted
inserted
replaced
682:90bb6287b31b | 683:50d66febeeb0 |
---|---|
29 if (!Util.isLiteral(q.object)) { | 29 if (!Util.isLiteral(q.object)) { |
30 throw new Error("non literal found"); | 30 throw new Error("non literal found"); |
31 } | 31 } |
32 let seen = false; | 32 let seen = false; |
33 for (let other of keep) { | 33 for (let other of keep) { |
34 // why are we getting multiple matches for the same literal? seems like a bug | |
34 if (other.equals(q.object)) { | 35 if (other.equals(q.object)) { |
35 seen = true; | 36 seen = true; |
36 } | 37 } |
37 } | 38 } |
38 if (!seen) { | 39 if (!seen) { |