Skip to content

Commit

Permalink
Update genmocks.sh to fix linter error in CI (#38)
Browse files Browse the repository at this point in the history
Unblock PR #37
  • Loading branch information
camerondurham authored Feb 17, 2023
1 parent 7dd447c commit e37992d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/nix/genmocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
go install github.com/golang/mock/[email protected]


cd ../../cmd/util || echo "failed to change dirs"; exit
cd ../../cmd/util || {
echo "failed to change dirs"; exit
}

mockgen -source ./docker_api.go -package=mocks -destination ./mocks/DockerAPI.go DockerAPI
mockgen -source ./docker.go -package=mocks -destination ./mocks/DockerClient.go DockerClient
Expand Down

0 comments on commit e37992d

Please sign in to comment.