giget icon indicating copy to clipboard operation
giget copied to clipboard

Option to throw if fetching a template fails

Open MuhammadM1998 opened this issue 3 months ago • 0 comments

Describe the feature

Hello 👋

I'm using a Nuxt layer with the GitHub repo approach which lacks the versioning we would get if it were a npm package. Hence I want to make sure that I'm using the latest layer commit and otherwise fail to catch bugs as early as possible. Currently, If I set any incorrect GIGET_AUTH env (Repo is private) it doesn't throw an error and uses the currently folder in node_modules. A flag that throws an error and/or warning if fetching the repo fails would be great! Thanks a lot!

Additional information

  • [ ] Would you be willing to help implement this feature?

MuhammadM1998 avatar Mar 20 '24 21:03 MuhammadM1998