crystal-loot / nox

Procfile-based process manager written in Crystal
MIT License
17 stars 2 forks source link

Can't read file with comments #8

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago
# system_check: ignore_this
web: lucky watch

results in:

Unhandled exception: Nil assertion failed (NilAssertionError)
  from /usr/share/crystal/src/nil.cr:108:5 in 'not_nil!'
  from /usr/share/crystal/src/string.cr:4000:27 in 'parse'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox/procfile.cr:5:5 in 'parse_file'
  from /home/jeremy/Development/lucky_org/lucky_cli/lib/nox/src/nox.cr:11:16 in 'run'
  from /home/jeremy/Development/lucky_org/lucky_cli/src/dev.cr:5:5 in 'call'
  from /home/jeremy/Development/lucky_org/lucky_cli/src/lucky.cr:29:3 in '__crystal_main'
  from /usr/share/crystal/src/crystal/main.cr:115:5 in 'main_user_code'
  from /usr/share/crystal/src/crystal/main.cr:101:7 in 'main'
  from /usr/share/crystal/src/crystal/main.cr:127:3 in 'main'
  from /lib/x86_64-linux-gnu/libc.so.6 in '??'
  from /lib/x86_64-linux-gnu/libc.so.6 in '__libc_start_main'
  from lucky in '_start'
  from ???
jwoertink commented 1 year ago

or spaces for that matter...

If the first line is blank, I get the same result


web: lucky watch
jwoertink commented 1 year ago

wow... I guess I can't end in a space either :joy:

web: lucky watch