In my last attempt at this I messed up a single condition leading to some unnecessary dprint restarts but it also wasn't clear to the user why the file wasn't formatted. To make it clear I have created a light wrapper around the ScratchUtil.isScratch method that also logs that scratch files cannot be formatted.
Overview
In my last attempt at this I messed up a single condition leading to some unnecessary dprint restarts but it also wasn't clear to the user why the file wasn't formatted. To make it clear I have created a light wrapper around the
ScratchUtil.isScratch
method that also logs that scratch files cannot be formatted.