You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Copy file name to clipboardexpand all lines: src/Robo/Hooks/ValidateHook.php
+3-3
Original file line number
Diff line number
Diff line change
@@ -124,11 +124,11 @@ public function validateSettingsFilesPresent() {
124
124
/**
125
125
* Validates that current PHP process is being executed inside of the VM.
126
126
*
127
-
* @hook validate validateInsideVm
127
+
* @hook validate validateVmConfig
128
128
*/
129
129
publicfunctionvalidateInsideVm() {
130
-
if ($this->getInspector()->isDrupalVmLocallyInitialized() && !$this->getInspector()->isVmCli()) {
131
-
thrownewBltException("You must run this command inside Drupal VM, or else do not use Drupal VM at all. Execute `vagrant ssh` and then execute the command, or else change drush.aliases.local in blt/project.local.yml.");
130
+
if ($this->getInspector()->isDrupalVmLocallyInitialized() && $this->getInspector()->isDrupalVmBooted() && !$this->getInspector()->isDrupalVmConfigValid()) {
131
+
thrownewBltException("Drupal VM configuration is invalid.");
0 commit comments