Skip to content

Commit

Permalink
refactor(node): Drop the --fields option
Browse files Browse the repository at this point in the history
Make the call consistent with the one in `Npm`, to prepare for using a
data class / object mapper for the deserialization.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Sep 11, 2024
1 parent 4d854a7 commit 8272678
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/package-managers/node/src/main/kotlin/yarn2/Yarn2.kt
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,6 @@ class Yarn2(
val process = run(
"npm",
"info",
"--fields",
"description,repository,dist,homepage,author,gitHead,version",
"--json",
*chunk.toTypedArray(),
workingDir = workingDir,
Expand Down

0 comments on commit 8272678

Please sign in to comment.