forked from toolshed/abra
		
	fix: respect --type/-t logic for app listing
Reverts c27376c89b. Woops.
			
			
This commit is contained in:
		@ -64,7 +64,10 @@ var appListCommand = &cli.Command{
 | 
			
		||||
		table := createTable(tableCol)
 | 
			
		||||
		table.SetAutoMergeCellsByColumnIndex([]int{0})
 | 
			
		||||
		for _, app := range apps {
 | 
			
		||||
			table.Append([]string{app.File.Server, app.Type, app.Domain})
 | 
			
		||||
			if app.Type == Type || Type == "" {
 | 
			
		||||
				// If type flag is set, check for it, if not, Type == ""
 | 
			
		||||
				table.Append([]string{app.File.Server, app.Type, app.Domain})
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		table.Render()
 | 
			
		||||
		return nil
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user