ember-fastboot / fastboot-s3-downloader

A FastBoot App Server downloader for AWS S3
7 stars 24 forks source link

adding null check for this.outputPath #5

Closed gmisa closed 7 years ago

gmisa commented 7 years ago

fix for error below happening on removeOldApp() when path is null or empty

[2016-12-31T10:37:19.170Z][m75199] downloading app [2016-12-31T10:37:19.170Z][m75199] fetching current app version from fastboot-test/fastboot-deploy-info.json [2016-12-31T10:37:19.429Z][m75199] got config { bucket: 'fastboot-test', key: 'dist.zip' } [2016-12-31T10:37:19.431Z][m75199] removing [2016-12-31T10:37:19.432Z][m75199] Error downloading app [2016-12-31T10:37:19.433Z][m75199] AssertionError: rimraf: missing path

tomdale commented 7 years ago

Awesome, thanks for looking into that!