mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
` => '
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ module.exports = class SherlockType extends ArgumentType {
|
|||||||
|
|
||||||
validate(value) {
|
validate(value) {
|
||||||
const time = sherlock.parse(value);
|
const time = sherlock.parse(value);
|
||||||
if (!time.startDate) return `Please provide a valid starting time.`;
|
if (!time.startDate) return 'Please provide a valid starting time.';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user