Closed curran closed 2 years ago
This PR fixes a glitch that happens when repeatedly updating a viz that does not have an index.js.
index.js
Bug first observed here https://vizhub.com/alark/290a1c583f024d01b7a852d12fefbf94
The error looks like this.
It was happening because the runner logic was trying to delete bundle.js, but bundle.js did not exist.
bundle.js
This PR makes it so that the runner logic only attempts to delete bundle.js if it exists.
This PR fixes a glitch that happens when repeatedly updating a viz that does not have an
index.js
.Bug first observed here https://vizhub.com/alark/290a1c583f024d01b7a852d12fefbf94
The error looks like this.
It was happening because the runner logic was trying to delete
bundle.js
, butbundle.js
did not exist.This PR makes it so that the runner logic only attempts to delete
bundle.js
if it exists.