Skip to content

Commit 5a01b35

Browse files
committed
Update validate.js
1 parent 3ad04dc commit 5a01b35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Private/validate.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { isStrArray, strToArray } = require('../utils/arrayTools');
44
/**
55
* Validation Class, used internally to validate provided arguments
66
*/
7-
module.exports = class Validation {
7+
class Validation {
88
/**
99
* Check if cache options are valid
1010
* @param {Object} options Global Cache Options to be validated
@@ -87,4 +87,5 @@ module.exports = class Validation {
8787
// eslint-disable-next-line no-console
8888
if (nodeVersion < 14 ) console.warn(Errors.NODE_VERSION_WARN);
8989
}
90-
};
90+
}
91+
module.exports = Validation;

0 commit comments

Comments
 (0)