From 391a186d2751ee8500976e8bd60dc6feecf75a92 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 15 Sep 2021 12:57:30 +0200 Subject: refactor(nix/readTree): remove unused assertMsg function Change-Id: I4048a59ca3daeb541a7294ce72eebe32982d852c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3553 Tested-by: BuildkiteCI Reviewed-by: tazjin --- nix/readTree/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nix/readTree/default.nix b/nix/readTree/default.nix index f433b2736061..5443d2edf539 100644 --- a/nix/readTree/default.nix +++ b/nix/readTree/default.nix @@ -33,11 +33,6 @@ let readDir substring; - assertMsg = pred: msg: - if pred - then true - else builtins.trace msg false; - argsWithPath = args: parts: let meta.locatedAt = parts; in meta // (if isAttrs args then args else args meta); -- cgit 1.4.1