Skip to content

Commit

Permalink
chore(web-app-template): Simplify adding to a map
Browse files Browse the repository at this point in the history
The `+` operator has an overload for pairs as well.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Aug 22, 2024
1 parent 9e01f50 commit e951d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/reporters/web-app-template/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks.addRule("Pattern: yarn<Command>") {
oldPath
).joinToString(File.pathSeparator)

environment = environment + mapOf("PATH" to newPath)
environment = environment + ("PATH" to newPath)
}
}
}
Expand Down

0 comments on commit e951d63

Please sign in to comment.