diff options
author | 2023-01-02 21:05:56 -0800 | |
---|---|---|
committer | 2023-01-02 21:05:56 -0800 | |
commit | ea2b65d4834d864029299809fb23f40ba2a56f90 (patch) | |
tree | b178b1c6327ed9b450b8764b0c13dea63112ee55 /src/bun.js/postgres/postgres.exports.js | |
parent | 80c2da73ef59f0170f1c92551c948a1b285da17c (diff) | |
download | bun-ea2b65d4834d864029299809fb23f40ba2a56f90.tar.gz bun-ea2b65d4834d864029299809fb23f40ba2a56f90.tar.zst bun-ea2b65d4834d864029299809fb23f40ba2a56f90.zip |
Draw the owljarred/pg
Diffstat (limited to 'src/bun.js/postgres/postgres.exports.js')
-rw-r--r-- | src/bun.js/postgres/postgres.exports.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bun.js/postgres/postgres.exports.js b/src/bun.js/postgres/postgres.exports.js new file mode 100644 index 000000000..beae64f24 --- /dev/null +++ b/src/bun.js/postgres/postgres.exports.js @@ -0,0 +1,8 @@ +var symbolFor = Symbol.for; + +const lazy = globalThis[symbolFor("Bun.lazy")]; +if (!lazy || typeof lazy !== "function") { + throw new Error( + "Something went wrong while loading Bun. Expected 'Bun.lazy' to be defined.", + ); +} |