Skip to content

Commit

Permalink
debug ci for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
falood committed Nov 9, 2023
1 parent 95deec1 commit bb5519c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions lib/file_system/backends/fs_windows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ defmodule FileSystem.Backends.FSWindows do
format = ["%w", "%e", "%f"] |> Enum.join(@sep_char) |> to_charlist

args = [
~c"-e",
~c"create",
~c"-e",
~c"modify",
~c"-e",
~c"delete",
~c"-e",
~c"move",
~c"--format",
format,
~c"--quiet",
Expand Down Expand Up @@ -150,7 +142,6 @@ defmodule FileSystem.Backends.FSWindows do

case parse_options(rest) do
{:ok, port_args} ->
IO.inspect port_args
port =
Port.open(
{:spawn_executable, to_charlist(executable_path())},
Expand Down
2 changes: 1 addition & 1 deletion test/file_system_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule FileSystemTest do
{:ok, pid} = FileSystem.start_link(dirs: [tmp_dir])
FileSystem.subscribe(pid)

:timer.sleep(200)
:timer.sleep(500)
File.touch("#{tmp_dir}/a")
assert_receive {:file_event, ^pid, {_path, _events}}, 5000

Expand Down

0 comments on commit bb5519c

Please sign in to comment.