Fixed misplaced closing bracket in command parser
This commit is contained in:
		
							parent
							
								
									74ee8988bf
								
							
						
					
					
						commit
						8059fd1b77
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -30,10 +30,10 @@ module.exports = (input) => {
 | 
				
			||||||
            args[arg] = false;
 | 
					            args[arg] = false;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          if (!ended) curr = arg;
 | 
					          if (!ended) curr = arg;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        args[a.slice(2)] = true;
 | 
					        args[a.slice(2)] = true;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    } else if (curr) {
 | 
					    } else if (curr) {
 | 
				
			||||||
      if (a.endsWith("\"")) {
 | 
					      if (a.endsWith("\"")) {
 | 
				
			||||||
        args[curr] += a.slice(0, -1);
 | 
					        args[curr] += a.slice(0, -1);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue