Skip to content

Commit

Permalink
chore(CI): fix ameba warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed May 26, 2021
1 parent 52bb1cb commit 6e270a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ssh2.cr

[![CI](https://github.com/spider-gazelle/ssh2/actions/workflows/ci.yml/badge.svg)](https://github.com/spider-gazelle/ssh2/actions/workflows/ci.yml)
[![CI](https://github.com/spider-gazelle/ssh2.cr/actions/workflows/ci.yml/badge.svg)](https://github.com/spider-gazelle/ssh2.cr/actions/workflows/ci.yml)

This library provides binding for libssh2 library.

Expand Down
1 change: 1 addition & 0 deletions src/ssh2.cr
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ module SSH2
super("SFTP Error: #{@code} / #{@reason}")
end

# ameba:disable Metrics/CyclomaticComplexity
def self.check_error(code)
case code
when 0
Expand Down

0 comments on commit 6e270a8

Please sign in to comment.