Skip to content

Commit a2c6024

Browse files
Update surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/config/YmlConfigWrapper.kt
Co-authored-by: Copilot <[email protected]>
1 parent a9fbf6c commit a2c6024

File tree

1 file changed

+0
-1
lines changed
  • surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/config

1 file changed

+0
-1
lines changed

surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/config/YmlConfigWrapper.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class YmlConfigWrapper<T : Any>(
6060
* @param block A lambda function defining the modifications to be applied to the configuration object.
6161
*/
6262
fun edit(save: Boolean = true, block: T.() -> Unit) {
63-
val config = config
6463
config.block()
6564

6665
if (save) {

0 commit comments

Comments
 (0)