diff --git a/lib/file_system/backends/fs_inotify.ex b/lib/file_system/backends/fs_inotify.ex index f4f84e6273c050ed3fbd40d3a24f8205c1ef78f4..422119475b9ea7920db2d799c089ad6937989f14 100644 --- a/lib/file_system/backends/fs_inotify.ex +++ b/lib/file_system/backends/fs_inotify.ex @@ -49,13 +49,7 @@ defmodule FileSystem.Backends.FSInotify do end defp executable_path(:config) do - with config when is_list(config) <- Application.get_env(:file_system, :fs_mac), - executable_file when not is_nil(executable_file) <- Keyword.get(config, :executable_file) - do - executable_file |> to_string - else - _ -> nil - end + Application.get_env(:file_system, :fs_inotify)[:executable_file] end defp executable_path(:system_env) do