blob: 8908a3aedb4ee9ca306389823177ca73ec93b703 (
plain)
1
2
3
4
5
6
7
|
'use strict'
const { promisify } = require('util')
const glob = promisify(require('glob'))
const globify = (pattern) => pattern.split('//').join('/')
module.exports = (path, options) => glob(globify(path), options)
|