fugazi-io / webclient

web based terminal application for executing local and remote commands
http://fugazi.io
28 stars 12 forks source link

variables and inner commands in array/map don't work #73

Open nitzantomer opened 7 years ago

nitzantomer commented 7 years ago
a = 5
b = [1, 2, 3, 4, $a]

Results in:

[1, 2, 3, 4, "$a"]

And:

b = [1, 2, (1 + 22)]

Results in:

[1, 2, [object, object, object]]

Same with maps


Seems to be the same issue as described in this issue: Variables are taken as strings when used as values in compound values.

A solution needs to fix both issues