Skip to content

Commit

Permalink
Fix new file method
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Oct 6, 2024
1 parent e25146d commit f8b6e7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ abstract class PluginSpecification extends Specification {
}

File file(String path) {
File f = dir.root.resolveSibling(path).toFile()
File f = dir.resolve(path).toFile()
if (!f.exists()) {
f.parentFile.mkdirs()
if (!f.createNewFile()) {
Expand Down

0 comments on commit f8b6e7c

Please sign in to comment.