Skip to content

Commit

Permalink
chore(node): Use curly-brace-syntax for logging
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Aug 10, 2024
1 parent bdbc11d commit df82c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/node/src/main/kotlin/Yarn2.kt
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class Yarn2(
val dependenciesIds = allDependencies[id]
return dependenciesIds?.mapNotNull { dependencyId ->
if (dependencyId in ancestorPackageIds) {
logger.debug("Not adding the dependency '$dependencyId' of package '$id' to prevent a cycle.")
logger.debug { "Not adding the dependency '$dependencyId' of package '$id' to prevent a cycle." }
return@mapNotNull null
}

Expand Down

0 comments on commit df82c97

Please sign in to comment.