From b1d5d39c660d15812656adcad0b5f7339ff4d282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@gmail.com> Date: Fri, 3 May 2019 19:46:54 +0200 Subject: [PATCH] Update fs_inotify.ex (#59) --- lib/file_system/backends/fs_inotify.ex | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/file_system/backends/fs_inotify.ex b/lib/file_system/backends/fs_inotify.ex index f4f84e6..4221194 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 -- GitLab