mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Use an absolute NODE_EXTRA_CA_CERTS path in test
Remove some complexity around correctly handling a relative path to extra CA certs by setting it to an absolute path.
This commit is contained in:
1 parent
fb3fe09466
commit
8a51e9cf4d
2 files changed
+2
-7
No files matched your search
@@ -197,12 +197,7 @@ let controlConfigPath = path.join("temp", "test", "config-control.json");
|
||||
function childOptions(options) {
|
||||
return {
|
||||
cwd: path.join("temp", "test"),
|
||||
env: {
|
||||
...process.env,
|
||||
NODE_EXTRA_CA_CERTS: process.env.NODE_EXTRA_CA_CERTS
|
||||
? path.resolve(process.env.NODE_EXTRA_CA_CERTS)
|
||||
: undefined,
|
||||
},
|
||||
env: { ...process.env },
|
||||
...options,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user