Use os.UserHomeDir #1706
Use os.UserHomeDir #1706
74.23% of diff hit (target 50.00%)
View this Pull Request on Codecov
74.23% of diff hit (target 50.00%)
Annotations
Check warning on line 68 in pkg/artifacts/server.go
codecov / codecov/patch
pkg/artifacts/server.go#L67-L68
Added lines #L67 - L68 were not covered by tests
Check warning on line 75 in pkg/artifacts/server.go
codecov / codecov/patch
pkg/artifacts/server.go#L74-L75
Added lines #L74 - L75 were not covered by tests
Check warning on line 67 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L67
Added line #L67 was not covered by tests
Check warning on line 77 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L77
Added line #L77 was not covered by tests
Check warning on line 111 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L110-L111
Added lines #L110 - L111 were not covered by tests
Check warning on line 116 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L115-L116
Added lines #L115 - L116 were not covered by tests
Check warning on line 149 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L149
Added line #L149 was not covered by tests
Check warning on line 160 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L160
Added line #L160 was not covered by tests
Check warning on line 195 in pkg/common/git/git.go
codecov / codecov/patch
pkg/common/git/git.go#L195
Added line #L195 was not covered by tests
Check warning on line 48 in pkg/container/docker_auth.go
codecov / codecov/patch
pkg/container/docker_auth.go#L46-L48
Added lines #L46 - L48 were not covered by tests
Check warning on line 52 in pkg/container/docker_auth.go
codecov / codecov/patch
pkg/container/docker_auth.go#L51-L52
Added lines #L51 - L52 were not covered by tests
Check warning on line 43 in pkg/container/docker_images.go
codecov / codecov/patch
pkg/container/docker_images.go#L43
Added line #L43 was not covered by tests
Check warning on line 48 in pkg/container/docker_images.go
codecov / codecov/patch
pkg/container/docker_images.go#L45-L48
Added lines #L45 - L48 were not covered by tests
Check warning on line 56 in pkg/container/docker_images.go
codecov / codecov/patch
pkg/container/docker_images.go#L52-L56
Added lines #L52 - L56 were not covered by tests
Check warning on line 59 in pkg/container/docker_images.go
codecov / codecov/patch
pkg/container/docker_images.go#L59
Added line #L59 was not covered by tests
Check warning on line 586 in pkg/container/docker_run.go
codecov / codecov/patch
pkg/container/docker_run.go#L586
Added line #L586 was not covered by tests
Check warning on line 68 in pkg/container/file_collector.go
codecov / codecov/patch
pkg/container/file_collector.go#L68
Added line #L68 was not covered by tests
Check warning on line 52 in pkg/container/host_environment.go
codecov / codecov/patch
pkg/container/host_environment.go#L52
Added line #L52 was not covered by tests
Check warning on line 208 in pkg/exprparser/functions.go
codecov / codecov/patch
pkg/exprparser/functions.go#L207-L208
Added lines #L207 - L208 were not covered by tests
Check warning on line 163 in pkg/exprparser/interpreter.go
codecov / codecov/patch
pkg/exprparser/interpreter.go#L159-L163
Added lines #L159 - L163 were not covered by tests
Check warning on line 381 in pkg/exprparser/interpreter.go
codecov / codecov/patch
pkg/exprparser/interpreter.go#L381
Added line #L381 was not covered by tests
Check warning on line 171 in pkg/model/github_context.go
codecov / codecov/patch
pkg/model/github_context.go#L164-L171
Added lines #L164 - L171 were not covered by tests
Check warning on line 173 in pkg/model/github_context.go
codecov / codecov/patch
pkg/model/github_context.go#L173
Added line #L173 was not covered by tests
Check warning on line 204 in pkg/model/github_context.go
codecov / codecov/patch
pkg/model/github_context.go#L200-L204
Added lines #L200 - L204 were not covered by tests
Check warning on line 208 in pkg/model/github_context.go
codecov / codecov/patch
pkg/model/github_context.go#L206-L208
Added lines #L206 - L208 were not covered by tests