jsdelivr / libgrabber

DEPRECATED Keeps projects hosted in jsDelivr updated
20 stars 21 forks source link

update async dependency and scope project update var #56

Closed UnbounDev closed 8 years ago

UnbounDev commented 8 years ago

@jimaek there's a lot of async stuff happening w/i the helper files for this project update sequence (honestly needs to be rewritten), I've patched the race cond'n for now by creating a version of the project metadata w/i the update sequence scope - the issue is that the callback is being hit too soon, causing the outer scope metadata to increment its version before the inner scope metadata issued a pull request. I've also updated the aync module version (it was really, really old), seems to be working fine locally.