rangle / angular-ssr

Angular 4+ server-side rendering solution compatible with @angular/material, jQuery, and other libraries that touch the DOM (as well as providing a rich feature set!)
BSD 2-Clause "Simplified" License
279 stars 38 forks source link

Parse boolean args correctly when set to false #73

Closed jamesbs closed 7 years ago

jamesbs commented 7 years ago

Currently command line args that take boolean values are always true since they're parsed as strings. I added some simple conversion logic when local vars are assigned the parsed values.