You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/file_system/backends/fs_inotify.ex
+66-26
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,12 @@ defmodule FileSystem.Backends.FSInotify do
39
39
40
40
defbootstrapdo
41
41
exec_file=executable_path()
42
+
42
43
ifis_nil(exec_file)do
43
-
Logger.error"`inotify-tools` is needed to run `file_system` for your system, check https://github.com/rvoicilas/inotify-tools/wiki for more information about how to install it. If it's already installed but not be found, appoint executable file with `config.exs` or `FILESYSTEM_FSINOTIFY_EXECUTABLE_FILE` env."
44
+
Logger.error(
45
+
"`inotify-tools` is needed to run `file_system` for your system, check https://github.com/rvoicilas/inotify-tools/wiki for more information about how to install it. If it's already installed but not be found, appoint executable file with `config.exs` or `FILESYSTEM_FSINOTIFY_EXECUTABLE_FILE` env."
46
+
)
47
+
44
48
{:error,:fs_inotify_bootstrap_error}
45
49
else
46
50
:ok
@@ -74,32 +78,56 @@ defmodule FileSystem.Backends.FSInotify do
74
78
defparse_options(options)do
75
79
caseKeyword.pop(options,:dirs)do
76
80
{nil,_}->
77
-
Logger.error"required argument `dirs` is missing"
81
+
Logger.error("required argument `dirs` is missing")
0 commit comments