8 lines
222 B
JavaScript
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)
|