fix(ci): make bun checks path-safe across runners
This commit is contained in:
1 parent
f72b0dae3c
commit
6b3f554103
4 files changed
+10
-5
No files matched your search
+4
-1
@@ -1,10 +1,13 @@
|
||||
const test = require("node:test");
|
||||
const assert = require("node:assert/strict");
|
||||
const fs = require("node:fs");
|
||||
const path = require("node:path");
|
||||
const vm = require("node:vm");
|
||||
|
||||
const repoRoot = __dirname;
|
||||
|
||||
function loadMetaModule() {
|
||||
const content = fs.readFileSync("E:/github/meta/META.js", "utf8");
|
||||
const content = fs.readFileSync(path.join(repoRoot, "META.js"), "utf8");
|
||||
const wrapped = `${content}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in new issue
Block a user