RuntimeError occurs when processing empty comment line
Closed this issue · 2 comments
ganta commented
Describe the bug
dprint-plugin-dockerfile version: 0.2.2
Input Code
#
Expected Output
#
Actual Output
The following error message is output:
Critical error formatting /path/to/Dockerfile. Cannot continue. Message: Originally panicked in dprint-plugin-dockerfile, then failed reinitialize. This may be a bug in the plugin, the dprint cli is out of date, or the plugin is out of date.
Original error: RuntimeError: unreachable
Reinitialize error: RuntimeError: unreachable
Had 1 error(s) formatting.