blangSDK icon indicating copy to clipboard operation
blangSDK copied to clipboard

[CLI] dependencies crashing

Open kevinchern opened this issue 6 years ago • 2 comments

Current code not robust. Reproduce by creating a dependencies.txt as follows:

ca.ubc.stat:conifer:2.0.4

note empty line NOT

ca.ubc.stat:conifer:2.0.4

call blang cli and it should crash. standalone compiler tries to do compile ''

kevinchern avatar Jun 21 '19 23:06 kevinchern

Good point, and we might as well add a bit more validation that each line should have the format "^.+[:].+[:].+$" and print a meaningful message if it does not.

alexandrebouchard avatar Jun 22 '19 17:06 alexandrebouchard

we will send a pull request soon :)!

kevinchern avatar Jun 22 '19 18:06 kevinchern