| commit | 156248b949f3da7c8d0f4f46cb97ac7606464952 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Fri Jan 10 00:27:45 2025 +0100 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Fri Jan 10 20:13:30 2025 +0000 |
| tree | ff52faf242a29f1916edad64bca6282f8030ee66 | |
| parent | 227c5cbbdd8f682b6e4d4cc661fa0d6e734206f2 [diff] |
treewide: format repo with buildifier Change-Id: Ia7aebeb7bba5b119c9157d1ad805cc477bcbb68a Reviewed-on: https://review.monogon.dev/c/monogon/+/3774 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/build/utils/detect_root.bzl b/build/utils/detect_root.bzl index 50c9574..e52c6ca 100644 --- a/build/utils/detect_root.bzl +++ b/build/utils/detect_root.bzl
@@ -57,7 +57,7 @@ def _get_level(path): normalized = path - for i in range(len(path)): + for _ in range(len(path)): new_normalized = normalized.replace("//", "/") if len(new_normalized) == len(normalized): break