Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pahatz committed Apr 29, 2024
1 parent d58cd8a commit 44d468a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions htsget/htsget.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func Htsget(args []string) error {
return err
}

//read public key from file
// read public key from file
publickey, err := os.ReadFile(currentPath + "/" + *publicKeyFile)
if err != nil {
return fmt.Errorf("failed to read public key, reason: %v", err)
Expand Down Expand Up @@ -167,7 +167,7 @@ func downloadFiles(htsgeURLs htsgetResponse, config *helpers.Config) (err error)
}
defer out.Close()

//read public key from file
// read public key from file
publickey, err := os.ReadFile(currentPath + "/" + *publicKeyFile)
if err != nil {
deleteFile(out)
Expand Down
3 changes: 0 additions & 3 deletions htsget/htsget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import (

type TestSuite struct {
suite.Suite
tempDir string
fileContent []byte
testFile *os.File
}

func TestConfigTestSuite(t *testing.T) {
Expand Down

0 comments on commit 44d468a

Please sign in to comment.