Skip to content

Commit

Permalink
add .del method to dummy cache (for onPreInit lifecycle)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Jul 21, 2021
1 parent 8998266 commit 229a523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby/src/utils/api-runner-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ const getUninitializedCache = plugin => {
async set() {
throw new Error(message)
},
async del() {
throw new Error(message)
},
}
}

Expand Down

0 comments on commit 229a523

Please sign in to comment.