forked from toolshed/abra
		
	fix: switch order of command
This commit is contained in:
		@ -59,8 +59,8 @@ var appRemoveCommand = &cli.Command{
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				logrus.Fatal(err)
 | 
			
		||||
			}
 | 
			
		||||
			if statuses[app.Name]["status"] == "deployed" {
 | 
			
		||||
				logrus.Fatalf("'%s' is still deployed. Run \"abra app %s undeploy\" or pass --force", app.Name, app.Name)
 | 
			
		||||
			if isDeployed {
 | 
			
		||||
				logrus.Fatalf("'%s' is still deployed. Run \"abra app undeploy %s \" or pass --force", app.Name, app.Name)
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user