diff --git a/lib/download-vsac.js b/lib/download-vsac.js index 6860a66..dd8aef2 100644 --- a/lib/download-vsac.js +++ b/lib/download-vsac.js @@ -109,8 +109,9 @@ function writeFile(file, data, caching=true) { resolve(file); } }); + } else { + resolve(); } - resolve(); }); }