Skip to content

Commit

Permalink
add dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jun 21, 2024
1 parent 8170d9d commit ee40ed9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ex_cmd_exit_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ defmodule ExCmdExitTest do

defp os_process_alive?(pid) do
if windows?() do
dbg(["tasklist", "/fi", "pid eq #{pid}"])

Check warning on line 38 in test/ex_cmd_exit_test.exs

View workflow job for this annotation

GitHub Actions / Lint OTP 26.x / Elixir 1.16.x

There should be no calls to `dbg/1`.

Check failure on line 38 in test/ex_cmd_exit_test.exs

View workflow job for this annotation

GitHub Actions / Linux OTP 24.x / Elixir 1.13.x

** (CompileError) test/ex_cmd_exit_test.exs:38: undefined function dbg/1 (expected ExCmdExitTest to define such a function or for it to be imported, but none are available)

Check warning on line 38 in test/ex_cmd_exit_test.exs

View workflow job for this annotation

GitHub Actions / Lint OTP 26.x / Elixir 1.16.x

There should be no calls to `dbg/1`.

Check failure on line 38 in test/ex_cmd_exit_test.exs

View workflow job for this annotation

GitHub Actions / Linux OTP 23.x / Elixir 1.12.x

** (CompileError) test/ex_cmd_exit_test.exs:38: undefined function dbg/1

Check failure on line 38 in test/ex_cmd_exit_test.exs

View workflow job for this annotation

GitHub Actions / Linux OTP 24.x / Elixir 1.13.x

** (CompileError) test/ex_cmd_exit_test.exs:38: undefined function dbg/1 (expected ExCmdExitTest to define such a function or for it to be imported, but none are available)

case cmd(["tasklist", "/fi", "pid eq #{pid}"]) do
{"INFO: No tasks are running which match the specified criteria.\r\n", 0} -> false
{_, 0} -> true
Expand Down

0 comments on commit ee40ed9

Please sign in to comment.