Skip to content

Commit

Permalink
Merge pull request #3 from chrisburnell/fix/directory
Browse files Browse the repository at this point in the history
fix: pass options.directory to Eleventy Fetch AssetCache
  • Loading branch information
chrisburnell committed Jan 25, 2023
2 parents b2c72cb + 29a3434 commit eb226fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eleventy-cache-webmentions.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const fetchWebmentions = async (options) => {
throw new Error("uniqueKey is a required field when attempting to retrieve Webmentions. See https://chrisburnell.com/eleventy-cache-webmentions/#installation for more information.")
}

let asset = new AssetCache(options.uniqueKey)
let asset = new AssetCache(options.uniqueKey, options.directory)
asset.ensureDir()

let webmentions = []
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chrisburnell/eleventy-cache-webmentions",
"version": "1.1.1",
"version": "1.1.2",
"description": "Fetch and cache webmentions using eleventy-fetch.",
"main": "eleventy-cache-webmentions.js",
"author": "Chris Burnell <me@chrisburnell.com>",
Expand Down

0 comments on commit eb226fc

Please sign in to comment.