Skip to content

Commit 616080b

Browse files
committed
Fix localeSoftLinkPath not creating parent dirs
1 parent b472080 commit 616080b

File tree

1 file changed

+1
-0
lines changed
  • core/src/main/kotlin/io/github/rothes/esu/core/configuration

1 file changed

+1
-0
lines changed

core/src/main/kotlin/io/github/rothes/esu/core/configuration/ConfigLoader.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ object ConfigLoader {
147147
val resourceNodes = mutableMapOf<String, ConfigurationNode>()
148148
if (MultiLangConfiguration::class.java.isAssignableFrom(configClass)) {
149149
if (path.notExists()) {
150+
path.parent.createDirectories()
150151
EsuConfig.get().localeSoftLinkPath.getOrNull()?.let { linkTo ->
151152
val relativize = EsuCore.instance.baseConfigPath().relativize(path)
152153
val source = linkTo.resolve(relativize)

0 commit comments

Comments
 (0)