Open david-kubecka opened 3 years ago
Environment:
IntelliJ IDEA 2021.1 (Ultimate Edition) Build #IU-211.6693.111, built on April 6, 2021
This is my sample Run Configuration:
Then the generated command is (notice the extra comma after last list item):
/usr/local/Cellar/erlang/23.2/lib/erlang/bin/erl -pa /Users/davidkubecka/git/gdc/gdc-nas/out/production/aqe -pa /Users/davidkubecka/git/gdc/gdc-nas/microservices/aqe/aqe-erlang -eval "lists:max([\"1\", \"2\", ])." -s init stop -noshell
Of course this gives syntax error during parsing.
Note that if I change the last argument to integer 2 it suddenly starts working:
2
/usr/local/Cellar/erlang/23.2/lib/erlang/bin/erl -pa /Users/davidkubecka/git/gdc/gdc-nas/out/production/aqe -pa /Users/davidkubecka/git/gdc/gdc-nas/microservices/aqe/aqe-erlang -eval "lists:max([\"1\", 2])." -s init stop -noshell
Environment:
This is my sample Run Configuration:
Then the generated command is (notice the extra comma after last list item):
/usr/local/Cellar/erlang/23.2/lib/erlang/bin/erl -pa /Users/davidkubecka/git/gdc/gdc-nas/out/production/aqe -pa /Users/davidkubecka/git/gdc/gdc-nas/microservices/aqe/aqe-erlang -eval "lists:max([\"1\", \"2\", ])." -s init stop -noshell
Of course this gives syntax error during parsing.
Note that if I change the last argument to integer
2
it suddenly starts working:/usr/local/Cellar/erlang/23.2/lib/erlang/bin/erl -pa /Users/davidkubecka/git/gdc/gdc-nas/out/production/aqe -pa /Users/davidkubecka/git/gdc/gdc-nas/microservices/aqe/aqe-erlang -eval "lists:max([\"1\", 2])." -s init stop -noshell