Make --refresh-dependencies work by creating the directory after clearing it (#482)
This commit is contained in:
parent
3ded0964c4
commit
6165576521
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue