From 830bc9961af0947a5e14948808f19145afa7ddc7 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 31 May 2023 12:48:04 +0200 Subject: chore: remove comments formerly meant for alignment /**/ is a nice way to align if statements which doesn't work with nixpkgs-fmt, since it'll reflow the comment to the line preceding the if. Consequently, we can delete these comments now. Change-Id: Ifa5327f846a903e07607b21f8eedbc32fc36f758 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8689 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- nix/sparseTree/default.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'nix/sparseTree') diff --git a/nix/sparseTree/default.nix b/nix/sparseTree/default.nix index bf56a5348c..7bfa472378 100644 --- a/nix/sparseTree/default.nix +++ b/nix/sparseTree/default.nix @@ -45,7 +45,6 @@ let let withLeading = p: if builtins.substring 0 1 p == "/" then p else "/" + p; fullPath = - /**/ if builtins.isPath path then path else if builtins.isString path then (root + withLeading path) else builtins.throw "Unsupported path type ${builtins.typeOf path}"; -- cgit 1.4.1