persona-community-5/.pnpm-store/v3/files/5b/d337c8f3eb7d60f976e78eccb320a26ab57b2b018f295fd887e92785970c314a69a69ec81541f01e4eeaa60fd4f05bfc4632aa734c9546ef408db604c72207
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

17 lines
415 B
Plaintext

'use strict';
const pathKey = (options = {}) => {
const environment = options.env || process.env;
const platform = options.platform || process.platform;
if (platform !== 'win32') {
return 'PATH';
}
return Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';
};
module.exports = pathKey;
// TODO: Remove this for the next major release
module.exports.default = pathKey;