1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fixed ineffassign

This commit is contained in:
Carlos Alexandro Becker 2017-08-18 19:14:50 -03:00
parent 5fc63d1ef0
commit fa5168c505
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -62,6 +62,7 @@ func TestRunPipe(t *testing.T) {
assert.NoError(os.Mkdir(filepath.Join(dist, folder), 0755))
var binPath = filepath.Join(dist, folder, "mybin")
_, err = os.Create(binPath)
assert.NoError(err)
ctx.AddBinary(plat, folder, "mybin", binPath)
}
assert.NoError(Pipe{}.Run(ctx))