Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / src / Command / Views / EnableCommand.php
index 3fe9ed6511f149ccd99131553424a48d93800f9d..898d17eead02511486c830f4aa4999f2af02806d 100644 (file)
@@ -103,7 +103,7 @@ class EnableCommand extends Command
                     $viewId
                 )
             );
-            return;
+            return 1;
         }
 
         try {
@@ -116,6 +116,10 @@ class EnableCommand extends Command
             );
         } catch (Exception $e) {
             $io->error($e->getMessage());
+
+            return 1;
         }
+
+        return 0;
     }
 }