Skip to content

Commit

Permalink
docs(node): Add a missing quote
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Mar 19, 2024
1 parent 97ca2ff commit 38f9dde
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 @@ -655,7 +655,7 @@ class Yarn2(
private fun cleanYarn2VersionString(rawVersion: String): String {
// 'Patch' locators are complex expressions such as
// resolve@npm%3A2.0.0-next.3#~builtin<compat/resolve>%3A%3Aversion=2.0.0-next.3&hash=07638b
// Therefore, the version has to be extracted (here '2.0.0-next.3).
// Therefore, the version has to be extracted (here '2.0.0-next.3').
var result = rawVersion.substringAfter("version=")
.substringBefore("&")

Expand Down

0 comments on commit 38f9dde

Please sign in to comment.