This commit is contained in:
2022-09-30 05:39:11 +00:00
parent 41ee9463ae
commit 4687fa49bc
11418 changed files with 1312504 additions and 0 deletions

View File

@ -0,0 +1,21 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.computeEnv = computeEnv;
exports.computeToolEnv = computeToolEnv;
function computeEnv(oldValue, newValues) {
const parsedOldValue = oldValue ? oldValue.split(":") : [];
return newValues.concat(parsedOldValue).filter(it => it.length > 0).join(":");
}
function computeToolEnv(libPath) {
// noinspection SpellCheckingInspection
return { ...process.env,
DYLD_LIBRARY_PATH: computeEnv(process.env.DYLD_LIBRARY_PATH, libPath)
};
}
// __ts-babel@6.0.4
//# sourceMappingURL=bundledTool.js.map