Open chmac opened 8 years ago
Here's my example:
cache.add('http://google.com/404.json') cache.download(()=> {}).then(() => {}, (failedUrls) => { console.log('failedUrls', failedUrls) }) // cache.remove('http://google.com/404.json') // <-- this works cache.remove('http://google.com/404.json').then(() => {console.log('success')}, () => {console.log('failure')})
Neither success nor failure gets logged. My guess from looking at this is that the filesystem promise never resolves / rejects if the file does not exist. Come to think of it, maybe the bug report belongs there?
success
failure
Here's my example:
Neither
success
norfailure
gets logged. My guess from looking at this is that the filesystem promise never resolves / rejects if the file does not exist. Come to think of it, maybe the bug report belongs there?