From 99ce87b78ac855fd43b561ea1922e8161031d324 Mon Sep 17 00:00:00 2001 From: Nik Ogura Date: Tue, 25 Jun 2019 10:13:14 -0700 Subject: [PATCH] fixed ineff assign in test and added awesome-go badge --- README.md | 2 ++ pkg/dbt/repository_test.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ae964f..f755616 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ [![Coverage Status](https://coveralls.io/repos/github/nikogura/dbt/badge.svg?branch=master&version=1.0.5)](https://coveralls.io/github/nikogura/dbt?branch=master) +[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go) + A framework for running self-updating, signed binary tools from a central, trusted repository. # Overview diff --git a/pkg/dbt/repository_test.go b/pkg/dbt/repository_test.go index 1ac712d..bb8fce1 100644 --- a/pkg/dbt/repository_test.go +++ b/pkg/dbt/repository_test.go @@ -58,7 +58,7 @@ func TestToolVersionExists(t *testing.T) { t.Fail() } - ok, err = dbtObj.ToolVersionExists("foo", "0.0.0") + ok, _ = dbtObj.ToolVersionExists("foo", "0.0.0") if ok { fmt.Println(fmt.Sprintf("Nonexistant tool version %q shows existing in repo.", "0.0.0"))