Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVerschueren committed Jan 22, 2017
1 parent 53e8f45 commit dc90ac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"dependencies": {
"array-multi-find": "^1.0.0",
"cache-conf": "^0.3.0",
"cache-conf": "^0.5.0",
"chalk": "^1.1.3",
"detect-indent": "^4.0.0",
"eclint": "^1.1.5",
Expand Down
2 changes: 1 addition & 1 deletion rules/pkg-schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SCHEMA_URL = 'http://json.schemastore.org/package';
const SEVEN_DAYS = 86400000 * 7;

const getSchema = (ctx, options) => {
const cachedSchema = cache.store['pkg-schema'] && cache.store['pkg-schema'].data;
const cachedSchema = cache.get('pkg-schema', {ignoreMaxAge: true});

if (cachedSchema && !cache.isExpired('pkg-schema')) {
return Promise.resolve(cachedSchema);
Expand Down

0 comments on commit dc90ac0

Please sign in to comment.