forked from toolshed/abra
		
	fix: dont output secrets table if nothing there
See coop-cloud/organising#162.
This commit is contained in:
		| @ -232,8 +232,11 @@ func action(c *cli.Context) error { | ||||
| 		for secret := range secrets { | ||||
| 			secretTable.Append([]string{secret, secrets[secret]}) | ||||
| 		} | ||||
|  | ||||
| 		if len(secrets) > 0 { | ||||
| 			defer secretTable.Render() | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	tableCol := []string{"Name", "Domain", "Type", "Server"} | ||||
| 	table := abraFormatter.CreateTable(tableCol) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user