From 586d121b8523455126c80e58ae2582533a2e1809 Mon Sep 17 00:00:00 2001 From: Stiopa Koltsov Date: Sat, 22 Jul 2023 00:21:21 -0700 Subject: [PATCH] Revert one file from D47572284 Reviewed By: IanChilds Differential Revision: D47695457 fbshipit-source-id: 08b5fdb206df1ac1f77569db0aeeef0622e5ec86 --- prelude/utils/utils.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prelude/utils/utils.bzl b/prelude/utils/utils.bzl index 3d47f14b..3ef70fb5 100644 --- a/prelude/utils/utils.bzl +++ b/prelude/utils/utils.bzl @@ -74,7 +74,7 @@ def expect_non_none(val, msg: str = "unexpected none", *fmt_args, **fmt_kwargs): fail(msg.format(*fmt_args, **fmt_kwargs)) return val -def from_named_set(srcs: [{str: ["artifact", Dependency]}, [["artifact", Dependency]]]) -> {str: ["artifact", Dependency]}: +def from_named_set(srcs: [{str: ["artifact", "dependency"]}, [["artifact", "dependency"]]]) -> {str: ["artifact", "dependency"]}: """ Normalize parameters of optionally named sources to a dictionary mapping names to sources, deriving the name from the short path when it's not