From 95e7ad5e0b62db48fe9f598c3060a64f8a9c3de2 Mon Sep 17 00:00:00 2001 From: Derek Cormier Date: Thu, 16 Nov 2023 06:57:29 -0800 Subject: [PATCH] fix: fix a bug where toolchain repositories were potentially duplicated (#662) --- lib/private/extension_utils.bzl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/private/extension_utils.bzl b/lib/private/extension_utils.bzl index b97e5c7..86017ca 100644 --- a/lib/private/extension_utils.bzl +++ b/lib/private/extension_utils.bzl @@ -93,11 +93,11 @@ def _toolchain_repos_bfs(mctx, get_tag_fn, toolchain_name, toolchain_repos_fn, d else: registrations[name] = version - for name, version in registrations.items(): - toolchain_repos_fn( - name = name, - version = version, - ) + for name, version in registrations.items(): + toolchain_repos_fn( + name = name, + version = version, + ) extension_utils = struct( toolchain_repos_bfs = _toolchain_repos_bfs,