Calling asm6805 against an assembly file that doesn't exist displays errors in the console
synthead opened this issue · 0 comments
synthead commented
When calling asm6805
with a file path that doesn't exist, these errors are displayed in the console:
$ asm6805 that
grep: that: No such file or directory
asm6805: line 57: that: No such file or directory
These errors are from these lines:
timex-datalink-assembler/asm6805
Line 33 in fbadf14
timex-datalink-assembler/asm6805
Lines 51 to 52 in fbadf14
Add a check to ensure that an input file exists, and exit early if it doesn't.