Skip to content

Commit

Permalink
Fix access to env
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed May 15, 2021
1 parent 30a2107 commit aed7a53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');

const getCacheDirs = (constants, inputs) => [
constants.PUBLISH_DIR,
inputs.cacheDir || env.CECIL_CACHE_DIR || '.cache'
inputs.cacheDir || process.env.CECIL_CACHE_DIR || '.cache'
];

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "netlify-plugin-cecil-cache",
"version": "0.2.3",
"version": "0.2.4",
"description": "Persist the Cecil cache between Netlify builds.",
"main": "index.js",
"repository": "https://github.com/Cecilapp/netlify-plugin-cecil-cache.git",
Expand Down

0 comments on commit aed7a53

Please sign in to comment.