From cee23026854bdf753040f1f4d8c9a59c00c2e00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20M=C3=A4nnchen?= Date: Fri, 24 May 2024 15:32:43 +0200 Subject: [PATCH] Get rid of charlist deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead │ 83 │ {:ok, config} = :file.consult('rebar.config') │ ~ │ └─ deps/telemetry_registry/mix.exs:83:35 warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead │ 89 │ {:ok, [{:application, name, desc}]} = :file.consult('src/telemetry_registry.app.src') │ ~ │ └─ telemetry_registry/mix.exs:89:57 --- mix.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index daf19d7..94a0ffe 100644 --- a/mix.exs +++ b/mix.exs @@ -80,13 +80,13 @@ defmodule TelemetryRegistry.MixProject do end defp load_config do - {:ok, config} = :file.consult('rebar.config') + {:ok, config} = :file.consult("rebar.config") config end defp load_app do - {:ok, [{:application, name, desc}]} = :file.consult('src/telemetry_registry.app.src') + {:ok, [{:application, name, desc}]} = :file.consult("src/telemetry_registry.app.src") {name, desc} end