Icard/angular-clarity-master(work.../node_modules/cacache/lib/util/glob.js

8 lines
222 B
JavaScript

'use strict'
const { glob } = require('glob')
const path = require('path')
const globify = (pattern) => pattern.split(path.win32.sep).join(path.posix.sep)
module.exports = (path, options) => glob(globify(path), options)