diff --git a/src/index.ts b/src/index.ts index 122045a..23c3dfd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,7 +28,7 @@ function loadNativeModuleTemp (module, data) { process.pkg = undefined; } - loady(module, loadPath); + return loady(module, loadPath); }`; type Edit = [number, number];