Fix bug discovering params if path timestamp is 1
This commit is contained in:
1 parent
3a178a5744
commit
475e3fffbe
1 file changed
+1
-1
+1
-1
@@ -264,7 +264,7 @@ fetchDevice = (id, timestamp, patterns, callback) ->
|
||||
else
|
||||
for k, v of projTree
|
||||
p = path.concat(k)
|
||||
res.push([p, +(obj['_timestamp'] ? 1)])
|
||||
res.push([p, obj['_timestamp']]) if obj['_timestamp']
|
||||
loaded.push([p, ((1 << path.length) - 1) ^ ((1 << MAX_DEPTH) - 1)])
|
||||
|
||||
for k, v of device
|
||||
|
||||
Reference in new issue
Block a user