Skip to content

Commit

Permalink
Merge pull request #772 from zhihuizhang17/zhihuizhang/fix-warning
Browse files Browse the repository at this point in the history
Fix warning by replacing charlist with string
  • Loading branch information
bryannaegele authored Sep 16, 2024
2 parents 053e731 + f80cd08 commit 61ecf5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/opentelemetry_api_experimental/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ defmodule OpenTelemetryExperimental.MixProject do
end

defp load_config do
{:ok, config} = :file.consult('rebar.config')
{:ok, config} = :file.consult(~c"rebar.config")

config
end

defp load_app do
{:ok, [{:application, name, desc}]} =
:file.consult('src/opentelemetry_api_experimental.app.src')
:file.consult(~c"src/opentelemetry_api_experimental.app.src")

{name, desc}
end
Expand Down
2 changes: 1 addition & 1 deletion apps/opentelemetry_semantic_conventions/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule OpenTelemetry.SemanticConventions.MixProject do

defp load_app do
{:ok, [{:application, name, desc}]} =
:file.consult('src/opentelemetry_semantic_conventions.app.src')
:file.consult(~c"src/opentelemetry_semantic_conventions.app.src")

{name, desc}
end
Expand Down

0 comments on commit 61ecf5d

Please sign in to comment.