mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-23 16:01:21 +01:00
Adds hyphen before timestamp in file name, when creating backup YamlCfg
This commit is contained in:
parent
daa601688d
commit
f8b3942de2
@ -227,7 +227,7 @@ public class SongodaYamlConfig extends YamlConfiguration {
|
||||
}
|
||||
|
||||
try {
|
||||
Path targetPath = this.file.toPath().resolveSibling(this.file.getPath() + ".backup" + System.currentTimeMillis());
|
||||
Path targetPath = this.file.toPath().resolveSibling(this.file.getPath() + ".backup-" + System.currentTimeMillis());
|
||||
|
||||
Files.copy(
|
||||
this.file.toPath(),
|
||||
|
Loading…
Reference in New Issue
Block a user