Skip to content

Commit

Permalink
Fix test for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneshin committed Nov 13, 2017
1 parent 89538b6 commit ee80397
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,7 +1,6 @@
language: go
go:
- 1.7.5
- 1.8
- 1.9
- tip
dist: trusty
sudo: required
Expand Down
5 changes: 1 addition & 4 deletions cmd/kamimai/cmd_down.go
Expand Up @@ -42,10 +42,7 @@ func doDownCmd(cmd *Cmd, args ...string) error {

if len(args) == 0 {
// Just one
if err := svc.Prev(1); err != nil {
return err
}
return nil
return svc.Prev(1)
}

val := cast.Int(args[0])
Expand Down
5 changes: 1 addition & 4 deletions cmd/kamimai/cmd_up.go
Expand Up @@ -42,10 +42,7 @@ func doUpCmd(cmd *Cmd, args ...string) error {

if len(args) == 0 {
// All
if err := svc.Up(); err != nil {
return err
}
return nil
return svc.Up()
}

val := cast.Int(args[0])
Expand Down

0 comments on commit ee80397

Please sign in to comment.