We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18666fc commit 4bdd5d5Copy full SHA for 4bdd5d5
lib/verify.js
@@ -13,6 +13,8 @@ const path = require('path')
13
const rimraf = util.promisify(require('rimraf'))
14
const ssri = require('ssri')
15
16
+const globify = pattern => pattern.split('\\').join('/')
17
+
18
const hasOwnProperty = (obj, key) =>
19
Object.prototype.hasOwnProperty.call(obj, key)
20
@@ -119,7 +121,7 @@ function garbageCollect (cache, opts) {
119
121
indexStream.on('end', resolve).on('error', reject)
120
122
}).then(() => {
123
const contentDir = contentPath.contentDir(cache)
- return glob(path.join(contentDir, '**'), {
124
+ return glob(globify(path.join(contentDir, '**')), {
125
follow: false,
126
nodir: true,
127
nosort: true,
0 commit comments