Skip to content

Commit

Permalink
refactor(bazel): Drop an explicit return type
Browse files Browse the repository at this point in the history
Make the code a tad more compact.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Jul 1, 2024
1 parent 9318b6d commit 6e44eca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal data class Flags(
val cmdRegistries: List<String>
)

internal fun parseLockfile(lockfile: File): Lockfile = json.decodeFromString<Lockfile>(lockfile.readText())
internal fun parseLockfile(lockfile: File) = json.decodeFromString<Lockfile>(lockfile.readText())

/**
* The data model for the output of "bazel mod graph --output json".
Expand Down

0 comments on commit 6e44eca

Please sign in to comment.