Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-03-24 19:09:26 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-03-28 23:21:36 +0300
commit0a957f5e2fbcce51c407d22b19e38004d09c51af (patch)
treed69aad0531c04ecd010f3b245b102a0e5a288df2 /lib/utils
parent57d8f75eb864486f6aa17bb3dd2f213b5c148073 (diff)
fix: consolidate path delimiter logic
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/path.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/utils/path.js b/lib/utils/path.js
deleted file mode 100644
index fcbf92e56..000000000
--- a/lib/utils/path.js
+++ /dev/null
@@ -1,5 +0,0 @@
-// return the PATH array in a cross-platform way
-// TODO this is only used in a single place
-const PATH = process.env.PATH || process.env.Path || process.env.path
-const { delimiter } = require('path')
-module.exports = PATH.split(delimiter)