'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'; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.js | File | 281 B | 0644 |
|
license | File | 1.09 KB | 0644 |
|
package.json | File | 1.56 KB | 0644 |
|
readme.md | File | 967 B | 0644 |
|