mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-26 07:03:22 +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:
parent
abbc641fd4
commit
9abcfe56ea
|
@ -333,6 +333,7 @@ public void after() throws InterruptedException, IOException
|
||||||
|
|
||||||
if( finishedWith != null )
|
if( finishedWith != null )
|
||||||
{
|
{
|
||||||
|
REPORT_PATH.getParentFile().mkdirs();
|
||||||
try( BufferedWriter writer = Files.newBufferedWriter( REPORT_PATH.toPath() ) )
|
try( BufferedWriter writer = Files.newBufferedWriter( REPORT_PATH.toPath() ) )
|
||||||
{
|
{
|
||||||
new LuaCoverage( finishedWith ).write( writer );
|
new LuaCoverage( finishedWith ).write( writer );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user