Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskim06 committed Jun 5, 2020
1 parent 7665a1b commit ea01855
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions integration_test/migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,8 @@ func TestKrewUnsupportedVersion(t *testing.T) {

func isIndexMigrated(it *ITest) bool {
indexPath := it.TempDir().Path("index/default")
if _, err := os.Stat(indexPath); err == nil {
return true
} else if os.IsNotExist(err) {
return false
} else {
it.t.Fatal(err)
return false
}
_, err := os.Stat(indexPath)
return err == nil
}

func prepareOldIndexLayout(it *ITest) {
Expand Down

0 comments on commit ea01855

Please sign in to comment.