From 8f5effe84cdc5466828030b08ea3e59c2d55f653 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Tue, 30 May 2017 16:23:13 -0700 Subject: [PATCH] Fix broken path when using nested alias params Resolves #236 --- lib/session.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.coffee b/lib/session.coffee index aeab11b..5989a07 100644 --- a/lib/session.coffee +++ b/lib/session.coffee @@ -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 = {}