Skip to content

Commit

Permalink
Fixes issue #495
Browse files Browse the repository at this point in the history
    just removed spurious output to stdout of device's name
  • Loading branch information
RobertDober committed Jul 2, 2024
1 parent df44cab commit 65cc07d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/earmark/cli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ defmodule Earmark.Cli do
end

defp output({device, string}) do

Check warning on line 32 in lib/earmark/cli.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.12.x | OTP 23)

variable "string" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 32 in lib/earmark/cli.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | OTP 24)

variable "string" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 32 in lib/earmark/cli.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | OTP 25)

variable "string" is unused (if the variable is not meant to be used, prefix it with an underscore)
IO.puts(device, string)
if device == :stderr, do: exit(1)
end
end

# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0

0 comments on commit 65cc07d

Please sign in to comment.