We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603f158 commit 967bb03Copy full SHA for 967bb03
1 file changed
index.js
@@ -34,7 +34,7 @@ module.exports = {
34
getAll: async function getAll(options) {
35
const data = {}
36
const keys = (await module.exports.keys()).filter((key) => {
37
- return options.wildcard ? key.match(keyRegex(options.pathname)) : key.startsWith(options.pathname)
+ return options.ignoreWildcard ? key.startsWith(options.pathname) : key.match(keyRegex(options.pathname))
38
})
39
40
for (let key of keys) {
0 commit comments