From 6e270a8d71ad8e01db519c153183d9710f2870d1 Mon Sep 17 00:00:00 2001 From: Stephen von Takach Date: Wed, 26 May 2021 11:33:03 +1000 Subject: [PATCH] chore(CI): fix ameba warning --- README.md | 2 +- src/ssh2.cr | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b777af..b114eee 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/ssh2.cr b/src/ssh2.cr index bf263ae..a3bebb4 100644 --- a/src/ssh2.cr +++ b/src/ssh2.cr @@ -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