Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Refactor: extract TarExtract function #762

Merged
merged 1 commit into from
Jan 23, 2021
Merged

Refactor: extract TarExtract function #762

merged 1 commit into from
Jan 23, 2021

Conversation

bboreham
Copy link
Contributor

Same block of 15-20 lines was repeated three times.
This version is more consistent, calling Reader.Close() every time.

Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bboreham
Copy link
Contributor Author

bboreham commented Jan 6, 2021

Note I'm not merging this because Travis CI hasn't run.

Same block of 20 lines was repeated three times.
This version is more consistent, calling Reader.Close() every time.
@stealthybox stealthybox merged commit 58d0e53 into master Jan 23, 2021
@stealthybox stealthybox deleted the dry-tar branch January 23, 2021 03:58
@stealthybox stealthybox added area/images kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/images kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants