diff --git a/pxtrunner/runner.ts b/pxtrunner/runner.ts index 8a624fae6187..efa015fb89d6 100644 --- a/pxtrunner/runner.ts +++ b/pxtrunner/runner.ts @@ -471,7 +471,7 @@ namespace pxt.runner { try { const start = Date.now(); const result = await pxt.Cloud.downloadBuiltSimJsInfoAsync(simOptions.id); - pxt.tickEvent("runner.fetchSimJsInfo", { durationMs: Date.now() - start}); + pxt.tickEvent("runner.fetchSimJsInfo", { durationMs: Date.now() - start }); return result; } catch (e) { // This exception will happen in the majority of cases, so we don't want to log it unless for debugging. @@ -544,7 +544,7 @@ namespace pxt.runner { const res = pxtc.buildSimJsInfo(compileResult); res.parts = compileResult.usedParts; - pxt.tickEvent("runner.buildSimJsInfo", { durationMs: Date.now() - start}); + pxt.tickEvent("runner.buildSimJsInfo", { durationMs: Date.now() - start }); return res; }