mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
[for only-parse-twice] enable diffing in debug
This commit is contained in:
@@ -199,7 +199,7 @@ extern "C" EncodedJSValue Bun__analyzeTranspiledModule(JSGlobalObject* globalObj
|
||||
RELEASE_AND_RETURN(scope, JSValue::encode(rejectWithError(createError(globalObject, WTF::String::fromLatin1("parseFromSourceCode failed")))));
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef BUN_DEBUG
|
||||
RELEASE_AND_RETURN(scope, fallbackParse(globalObject, moduleKey, sourceCode, promise, moduleRecord));
|
||||
#else
|
||||
promise->fulfillWithNonPromise(globalObject, moduleRecord);
|
||||
|
||||
Reference in New Issue
Block a user