path-key
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -12,3 +12,3 @@ 'use strict'; | ||
return Object.keys(env).filter(x => x.toUpperCase() === 'PATH')[0] || 'Path'; | ||
return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path'; | ||
}; |
{ | ||
"name": "path-key", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Get the PATH environment variable key cross-platform", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
3020