This commit is contained in:
parent
ad73a83514
commit
8314be972f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module.exports = {
|
|||
|
||||
if(args.length > 0){
|
||||
if(args[0].charAt(0) === '<' && args[0].charAt(args[0].length - 1) === '>'){
|
||||
args[0] = args[0].slice(0, args[0].length - 1)
|
||||
args[0] = args[0].slice(1, args[0].length - 1)
|
||||
}
|
||||
try {
|
||||
url = new URL(args[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue