update socials section

This commit is contained in:
kankys committed 2025-05-21 20:59:04 +02:00
1 parent a0ca01e0c4
commit 08107cd890
2025 files changed
+396152 -112

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
'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;