Skip to content

Commit

Permalink
fix: better test
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed May 25, 2022
1 parent 6b8eeaf commit 2a05c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/analytics/src/expand.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default async function expand(data, feed) {
}
if (this.cachePath) {
const cachedValue = await cacheGet(this.cachePath, value);
if (cachedValue !== null) {
if (cachedValue) {
set(data, path, cachedValue);
return feed.send(data);
}
Expand Down

0 comments on commit 2a05c34

Please sign in to comment.