Skip to content

Commit

Permalink
Cleanup temporary certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
OliviaYtterbrink committed Oct 7, 2016
1 parent 0c59801 commit b3dd648
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -147,7 +147,9 @@ private Map<String,String> configure( Consumer<Map<String,String>> overrideSetti

private String tempPath( String filename ) throws IOException
{
return new File( new File( workingDirectory, "security" ), filename ).getAbsolutePath();
File file = new File( new File( workingDirectory, "security" ), filename );
file.deleteOnExit();
return file.getAbsolutePath();
}

public GraphDatabaseService graphDatabaseService()
Expand Down

0 comments on commit b3dd648

Please sign in to comment.