lib/common-part.js
function globParentToArray(glob) {
    return path.resolve(globParent(glob))
        .replace(BACK_SLASH, "/")
        .split("/")
        .filter(Boolean)
}
function globParentToArray(glob) {
    return path.resolve(globParent(glob))
        .replace(BACK_SLASH, "/")
        .split("/")
        .filter(Boolean)
}
function globParentToArray ( glob ) { return path . resolve ( globParent ( glob ) ) . replace ( BACK_SLASH , "/" ) . split ( "/" ) . filter ( Boolean ) }
Get the parent path of the given glob as an array of path elements.

@param {string} glob - The glob to get.
@returns {string[]} The path elements.
@private
Get the parent path of the given glob as an array of path elements .