Path must be string

This commit is contained in:
Mikko Ahlroth 2023-09-03 00:14:08 +03:00
parent 4e0d192894
commit 8fdf407cdf
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ defmodule Tietopaketti.Sysmon do
disk_data =
for {{path, total, used}, i} <- Enum.with_index(disk_data),
path = to_string(path),
Map.has_key?(state.blocks_by_path, path) do
block = Map.fetch!(state.blocks_by_path, path)

View file

@ -4,7 +4,7 @@ defmodule Tietopaketti.MixProject do
def project do
[
app: :tietopaketti,
version: "1.2.4",
version: "1.2.5",
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,