grisp / rebar3_grisp

Rebar plug-in for GRiSP
https://www.grisp.org
Apache License 2.0
21 stars 10 forks source link

Error running package command on version 2.7.0 #87

Closed ziopio closed 1 month ago

ziopio commented 1 month ago

rebar3_grisp 2.7.0 grisp_tools 2.7.0

rebar3 grisp package list

...
===> Expanded command sequence to be run: [{grisp,package}]
===> Running provider: {grisp,package}
===> GRiSP pre-built OTP versions for platform 'grisp2'
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: {badmatch,version}
===> Stack trace to the error location:
[{string,bin_search_str_1,4,[{file,"string.erl"},{line,1758}]},
 {string,split_1,6,[{file,"string.erl"},{line,1304}]},
 {string,split,3,[{file,"string.erl"},{line,499}]},
 {rebar3_grisp_package,format_header,1,
                       [{file,"/Users/lucasucci/.cache/rebar3/plugins/rebar3_grisp/src/rebar3_grisp_package.erl"},
                        {line,187}]},
 {grid,process_cell,2,
       [{file,"/Users/lucasucci/.cache/rebar3/plugins/grid/src/grid.erl"},
        {line,230}]},
 {grid,process_column,5,
       [{file,"/Users/lucasucci/.cache/rebar3/plugins/grid/src/grid.erl"},
        {line,216}]},
 {maps,fold_1,4,[{file,"maps.erl"},{line,416}]},
 {grid,process_headers,2,
       [{file,"/Users/lucasucci/.cache/rebar3/plugins/grid/src/grid.erl"},
        {line,139}]}]
ziopio commented 1 month ago

Merged solution