decentraland / editor-sdk7

VSCode extension for Decentraland SDK7 projects
https://marketplace.visualstudio.com/items?itemName=DecentralandFoundation.decentraland-sdk7
MIT License
3 stars 5 forks source link

feat: clean cache and retry on error #112

Closed cazala closed 2 months ago

cazala commented 2 months ago

It has been reported that the npm install sometimes fails and it can't recover until manually cleaning the cache. This PR wraps the installation of the extension in a try/catch, and if it fails, it cleans the cache (npm cache clean --force) and tries again.

github-actions[bot] commented 2 months ago

Test this pull request