bot/node_modules/npm/lib/utils/path.js

5 lines
196 B
JavaScript
Raw Normal View History

2022-02-16 11:32:42 +01:00
// return the PATH array in a cross-platform way
const PATH = process.env.PATH || process.env.Path || process.env.path
const { delimiter } = require('path')
module.exports = PATH.split(delimiter)