node_modules

This commit is contained in:
softprops committed 2019-09-18 13:19:04 +09:00
1 parent 2984051a42
commit b28d8151ad
445 files changed
+83959 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
'use strict';
module.exports = opts => {
opts = opts || {};
const env = opts.env || process.env;
const platform = opts.platform || process.platform;
if (platform !== 'win32') {
return 'PATH';
}
return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path';
};