mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 04:58:27 +00:00
prettier
This commit is contained in:
parent
42000a7628
commit
94c07b6b7a
@ -37,7 +37,7 @@ function safeEval(str, options = {}) {
|
|||||||
|
|
||||||
export const evaluate = async (code, transpiler, transpilerOptions) => {
|
export const evaluate = async (code, transpiler, transpilerOptions) => {
|
||||||
let meta = {};
|
let meta = {};
|
||||||
|
|
||||||
if (transpiler) {
|
if (transpiler) {
|
||||||
// transform syntactically correct js code to semantically usable code
|
// transform syntactically correct js code to semantically usable code
|
||||||
const transpiled = transpiler(code, transpilerOptions);
|
const transpiled = transpiler(code, transpilerOptions);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user