mirror of
https://github.com/vvsviridov/enm-cli.git
synced 2025-11-03 21:53:39 +00:00
bulk import creation
This commit is contained in:
@@ -53,6 +53,14 @@ const isValidNodeName = (input) => {
|
||||
}
|
||||
|
||||
|
||||
const isXMas = () => {
|
||||
const date = new Date()
|
||||
if (date.getMonth() === 11 || date.getMonth() === 0) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = {
|
||||
isEmpty,
|
||||
isValidHardwareId,
|
||||
@@ -60,4 +68,5 @@ module.exports = {
|
||||
isValidString,
|
||||
checkValueRangeConstraints,
|
||||
isValidNodeName,
|
||||
isXMas,
|
||||
}
|
||||
Reference in New Issue
Block a user