mirror of https://github.com/Seich/Beau.git
				
				
				
			Cleaning up flags.
This commit is contained in:
		
							parent
							
								
									0d919a2391
								
							
						
					
					
						commit
						c4e2f610e3
					
				|  | @ -9,7 +9,7 @@ class ListCommand extends Base { | |||
| 		const { flags } = this.parse(ListCommand); | ||||
| 		const Beau = this.loadConfig(flags.config); | ||||
| 
 | ||||
| 		if (flags.format === false) { | ||||
| 		if (flags['no-format']) { | ||||
| 			return Beau.requests.list.forEach( | ||||
| 				({ VERB, ALIAS, ENDPOINT, PATH }) => | ||||
| 					this.log( | ||||
|  |  | |||
|  | @ -29,7 +29,7 @@ class RequestCommand extends Base { | |||
| 
 | ||||
| 		new Line().output(); | ||||
| 
 | ||||
| 		jsome(verbose ? res : body); | ||||
| 		jsome((verbose ? res : body) || null); | ||||
| 	} | ||||
| 
 | ||||
| 	async run() { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue