update
This commit is contained in:
7
package/node_modules/cacache/lib/util/glob.js
generated
vendored
Normal file
7
package/node_modules/cacache/lib/util/glob.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'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)
|
Reference in New Issue
Block a user