Skip to content

Commit

Permalink
Fix missing comma in example init block in README (#43)
Browse files Browse the repository at this point in the history
Fix missing comma in example init block

Also add a trailing comma so this doesn't happen again
  • Loading branch information
cincodenada authored Jan 6, 2024
1 parent 41e9954 commit 5754daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import Cache from "file-system-cache";
const cache = Cache({
basePath: "./.cache", // (optional) Path where cache files are stored (default).
ns: "my-namespace", // (optional) A grouping namespace for items.
hash: "sha1" // (optional) A hashing algorithm used within the cache key.
ttl: 60 // (optional) A time-to-live (in secs) on how long an item remains cached.
hash: "sha1", // (optional) A hashing algorithm used within the cache key.
ttl: 60, // (optional) A time-to-live (in secs) on how long an item remains cached.
});
```

Expand Down

0 comments on commit 5754daa

Please sign in to comment.