From 18218bc7edc2e727528ec1d0f2dd6751855b99cf Mon Sep 17 00:00:00 2001 From: Danny McClanahan <1305167+cosmicexplorer@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:51:07 -0500 Subject: [PATCH] small change --- Cakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cakefile b/Cakefile index 920f060077..167ef14164 100644 --- a/Cakefile +++ b/Cakefile @@ -161,7 +161,7 @@ transpile = (code, options = {}) -> minified: options.minify comments: not options.minify sourceType: options.sourceType - { code } = babel.transformSync code, babelOptions unless presets.length is 0 + { code } = await babel.transformAsync code, babelOptions unless presets.length is 0 code testBuiltCode = (watch = no) -> @@ -489,13 +489,13 @@ task 'bench', 'quick benchmark of compilation time', -> runTests = (CoffeeScript) -> CoffeeScript.register() unless global.testingBrowser - # These are attached to `global` so that they’re accessible from within - # `test/async.coffee`, which has an async-capable version of - # `global.test`. global.currentFile = null global.passedTests = 0 global.failures = [] + # These are attached to `global` so that they’re accessible from within + # `test/async.coffee`, which has an async-capable version of + # `global.test`. global[name] = func for name, func of require 'assert' # Convenience aliases.