mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix lint
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ module.exports = class UrlType extends ArgumentType {
|
|||||||
return Boolean(validURL.isWebUri(value));
|
return Boolean(validURL.isWebUri(value));
|
||||||
}
|
}
|
||||||
|
|
||||||
async parse(value) {
|
parse(value) {
|
||||||
return new URL(value);
|
return new URL(value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user