All files / lib/utils path.js

100% Statements 3/3
100% Branches 3/3
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5  3x 3x 3x  
// 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)