mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-05-19 17:45:54 +00:00
build(deps): commit production deps
This commit is contained in:
parent
cb9470fc12
commit
e4492afca8
450 changed files with 123635 additions and 2 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