From 0540e15f1956323c64310574e68e40701b463ce2 Mon Sep 17 00:00:00 2001 From: Northword Date: Mon, 9 Dec 2024 22:09:25 +0800 Subject: [PATCH] fix: cwd --- src/core/tester.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tester.ts b/src/core/tester.ts index 863fe40..d121e6d 100644 --- a/src/core/tester.ts +++ b/src/core/tester.ts @@ -578,7 +578,7 @@ mocha.run(); await this.installZoteroLinux(); // Set Environment Variable for Zotero Bin Path - process.env.ZOTERO_PLUGIN_ZOTERO_BIN_PATH = `${cwd}/Zotero_linux-x86_64/zotero`; + process.env.ZOTERO_PLUGIN_ZOTERO_BIN_PATH = `${cwd()}/Zotero_linux-x86_64/zotero`; } async installXvfb() {