as i was tracing our tutorial loading code, i went ahead and fixed a few tiny bugs and converted some functions to async/await. i know the async/await changes make it a little difficult to tell what changed, so here's a summary of the few actual behavior changes:
removed a redundant call to compiler.newProjectAsync() in internalLoadHeaderAsync
removed a redundant call to pxt.github.cacheProjectDependenciesAsync() in createProjectAsync()
made the github repo db keys in idbworkspace.ts case insensitive so that we don't miss the cache when a markdown author is inconsistent with their capitalization (this was happening in the HOC minecraft tutorials)
as i was tracing our tutorial loading code, i went ahead and fixed a few tiny bugs and converted some functions to async/await. i know the async/await changes make it a little difficult to tell what changed, so here's a summary of the few actual behavior changes:
compiler.newProjectAsync()
ininternalLoadHeaderAsync
pxt.github.cacheProjectDependenciesAsync()
increateProjectAsync()
idbworkspace.ts
case insensitive so that we don't miss the cache when a markdown author is inconsistent with their capitalization (this was happening in the HOC minecraft tutorials)