mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 14:22:01 +00:00
Module.findSourceMap shouldn't throw (#16229)
This commit is contained in:
@@ -284,13 +284,7 @@ JSC_DEFINE_HOST_FUNCTION(jsFunctionFindSourceMap,
|
||||
(JSGlobalObject * globalObject,
|
||||
CallFrame* callFrame))
|
||||
{
|
||||
auto& vm = globalObject->vm();
|
||||
auto scope = DECLARE_THROW_SCOPE(vm);
|
||||
throwException(
|
||||
globalObject, scope,
|
||||
createError(globalObject,
|
||||
"module.SourceMap is not yet implemented in Bun"_s));
|
||||
return {};
|
||||
return JSValue::encode(jsUndefined());
|
||||
}
|
||||
|
||||
JSC_DEFINE_HOST_FUNCTION(jsFunctionSyncBuiltinExports,
|
||||
|
||||
Reference in New Issue
Block a user