mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
挙動修正
This commit is contained in:
parent
31a0220b90
commit
38db65c9d3
|
@ -130,7 +130,16 @@ public class FileManagerImpl implements FileManager {
|
||||||
@Override
|
@Override
|
||||||
public void autoCreateToCurrentDir() {
|
public void autoCreateToCurrentDir() {
|
||||||
logger.debug("autoGenerateToCurrentDir", "called");
|
logger.debug("autoGenerateToCurrentDir", "called");
|
||||||
autoCreateDir(currentDir);
|
if (isExist(currentDir)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
try {
|
||||||
|
Files.createDirectories(currentDir);
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user