The original check for a directory was for the `readAllAlloc` so move the check from open to read. This in turn fixes the fmt step in the build script for directories.
bc0ca73887DrDeano committed on 6/20/2020, 9:25:12 PM· committed by Andrew Kelleyparent5229f6e