trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

Truffle unbox against main (vs master) branch not working #3497

Open kevinbluer opened 4 years ago

kevinbluer commented 4 years ago

Issue

When attempting to unbox a repo wherein the branch is called main as per the new Github convention (vs master) an error gets thrown as follows.

Unbox failed!
Error: Truffle Box at URL https://github.com/kevinbluer/bento doesn't exist.

Steps to Reproduce

Expected Behavior

The box should "unbox" and populate your current working directory.

Actual Results

The above error output.

Environment

Typing this on a machine with the following (although was also recreated on a system with the latest truffle version earlier too).

kevinbluer commented 4 years ago

Just for reference I've actually changed kevinbluer/bento to using master (vs main) as this is an actively used box. Just in case this was attempted as a means of reproducing 🙂

gnidan commented 4 years ago

Thanks for reporting this @kevinbluer! We'll have to look into this to figure out how to respect the default branch.