mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-15 04:34:21 +00:00
node_modules
This commit is contained in:
parent
2984051a42
commit
b28d8151ad
445 changed files with 83959 additions and 1 deletions
13
node_modules/path-key/index.js
generated
vendored
Normal file
13
node_modules/path-key/index.js
generated
vendored
Normal 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';
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue