1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-16 18:19:55 +00:00

Create the coverage directory before writing

Odd that this failed - we should make the directory within the test
suite - but let's see if this helps.
This commit is contained in:
SquidDev 2020-05-13 14:41:50 +01:00
parent abbc641fd4
commit 9abcfe56ea

View File

@ -333,6 +333,7 @@ public void after() throws InterruptedException, IOException
if( finishedWith != null )
{
REPORT_PATH.getParentFile().mkdirs();
try( BufferedWriter writer = Files.newBufferedWriter( REPORT_PATH.toPath() ) )
{
new LuaCoverage( finishedWith ).write( writer );