Tapico / tapico-turborepo-remote-cache

A server for TurboRepo Remote Cache to store cache artefacts in Google Cloud Storage or Amazon S3
MIT License
133 stars 10 forks source link

Only throw if neither teamId nor slug is present #20

Closed ntgussoni closed 2 years ago

ntgussoni commented 2 years ago

Hello,

I was trying this today and couldn't get it to work.

After a nice debugging session I noticed it was always erroring out regardless of slug being present.

The if condition seemed wrong as it should only enter the block if neither teamId nor slug is present.

tapico-weyert commented 2 years ago

Yeah this change makes sense :)

Thank you very much @ntgussoni!