Make --refresh-dependencies work by creating the directory after clearing it (#482)
parent
3ded0964c4
commit
6165576521
|
@ -355,6 +355,8 @@ public class MappingsProviderImpl extends DependencyProvider implements Mappings
|
|||
if (Files.exists(mappingsWorkingDir)) {
|
||||
Files.walkFileTree(mappingsWorkingDir, new DeletingFileVisitor());
|
||||
}
|
||||
|
||||
Files.createDirectories(mappingsWorkingDir);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue