Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed May 6, 2024
1 parent 33a3233 commit 4023d71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ py_binary(
srcs = ["get_version.py"],
visibility = ["//visibility:public"],
deps = [
# ":get_toolchain_dependencies",
":get_toolchain_dependencies",
"@bzlmodrio-gentool//bazelrio_gentool",
],
)
Expand Down
3 changes: 2 additions & 1 deletion generate/get_toolchain_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def __init__(
escaped_version,
underscore_version,
jre_version,
patch = "",
):
self.repo_name = repo_name
self.platforms = platforms
Expand All @@ -37,7 +38,7 @@ def __init__(
self.jre_version = jre_version
self.version = jdk_version
self.sanitized_version = self.version.replace("+", "-")
self.patch = ""
self.patch = patch
self.year = "2024"

platforms = []
Expand Down
2 changes: 1 addition & 1 deletion generate/get_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def main():
print(get_toolchain_dependencies()["jdk_version"])
print(get_toolchain_dependencies().jdk_version)


if __name__ == "__main__":
Expand Down

0 comments on commit 4023d71

Please sign in to comment.