marwanhawari / stew

🥘 An independent package manager for compiled binaries.
MIT License
195 stars 14 forks source link

Handle tgz #28

Closed hannah98 closed 7 months ago

hannah98 commented 8 months ago

This PR addresses Issue #27

Changes in this PR:

  1. 2 Tests were failing. Updated all tests to passing before making changes to main code
  2. Added a test to check if a .tgz file is an archive and expect it to be true
  3. Changed the isArchiveFile function to include .tgz as a valid archive extension
  4. All tests passing

I don't know anything about Golang so feel free to correct anything I did.

marwanhawari commented 8 months ago

Thank you for fixing old tests and adding new ones!

hannah98 commented 7 months ago

I apologize, I was out of town for a week. The new method you used is great!

marwanhawari commented 7 months ago

No need to apologize! Thank you for the contribution!