Fix broken path when using nested alias params

Resolves #236
This commit is contained in:
Zaid Abdulla committed 2017-05-30 16:23:13 -07:00
1 parent 4d255acfc6
commit 8f5effe84c
1 file changed
+1 -1
+1 -1
View File
@@ -537,7 +537,7 @@ runDeclarations = (sessionContext, declarations) ->
if Array.isArray(path[path.length - 1])
keys = {}
for p, i in path[path.length - 1] by 2
keys[p] = path[path.length - 1][i + 1]
keys[p.join('.')] = path[path.length - 1][i + 1]
else if path[path.length - 1] == '*'
keys = {}