Skip to content

Commit ef3e1bd

Browse files
committed
added BELLATRIX_CONFIGURATION_ROOT environment variable
1 parent c7fa8db commit ef3e1bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

@bellatrix/runner/bellatrix.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ const configs = [
8181
'.bellatrix.json',
8282
];
8383

84-
const configFileURL = pathToFileURL(findFilePath(configs));
84+
const configFilePath = findFilePath(configs);
85+
const configFileURL = pathToFileURL(configFilePath);
86+
process.env.BELLATRIX_CONFIGURAITON_ROOT = dirname(configFilePath);
8587
let config;
8688

8789
if (configFileURL.href.endsWith('.ts') || configFileURL.href.endsWith('.mts')) {

0 commit comments

Comments
 (0)