From 600a730a7763e2a6cdf2a11595454e540e579dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20M=C3=BCller?= Date: Sat, 23 Sep 2023 03:02:57 -0300 Subject: [PATCH] don't interpolate unnecessarily --- lib/credo/check/readability/duplicated_aliases.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/credo/check/readability/duplicated_aliases.ex b/lib/credo/check/readability/duplicated_aliases.ex index ab780d138..8a2e256b3 100644 --- a/lib/credo/check/readability/duplicated_aliases.ex +++ b/lib/credo/check/readability/duplicated_aliases.ex @@ -44,7 +44,7 @@ defmodule Credo.Check.Readability.DuplicatedAliases do issue_meta, message: "Duplicated alias: #{format_alias(trigger)}, already defined in line #{existing_alias_line_no}", - trigger: "#{format_alias(trigger)}", + trigger: format_alias(trigger), line_no: line_no ) end