Skip to content

Commit

Permalink
Update validate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
StavZ committed Feb 22, 2021
1 parent 3ad04dc commit 5a01b35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Private/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { isStrArray, strToArray } = require('../utils/arrayTools');
/**
* Validation Class, used internally to validate provided arguments
*/
module.exports = class Validation {
class Validation {
/**
* Check if cache options are valid
* @param {Object} options Global Cache Options to be validated
Expand Down Expand Up @@ -87,4 +87,5 @@ module.exports = class Validation {
// eslint-disable-next-line no-console
if (nodeVersion < 14 ) console.warn(Errors.NODE_VERSION_WARN);
}
};
}
module.exports = Validation;

0 comments on commit 5a01b35

Please sign in to comment.