This repository was archived by the owner on Feb 13, 2023. It is now read-only.
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,12 @@ public function addVagrantfile(Event $event) {
66
66
$ this ->io ->writeError (
67
67
'<warning> '
68
68
. 'Drupal VM has been updated and consequently written over your Vagrantfile which from now on will be managed by Drupal VM. '
69
- . 'Due to this change, you are required to set your `config_dir` location in your composer.json file. Below follows the necessary change: '
69
+ . 'Due to this change, you are required to set the `config_dir` location in your composer.json file: '
70
+ . "\n"
71
+ . "\n $ composer config extra.drupalvm.config_dir <sub-directory> "
72
+ . "\n"
70
73
. '</warning> '
71
74
);
72
- $ this ->io ->writeError ('' );
73
- $ this ->io ->writeError (json_encode (['extra ' => ['drupalvm ' => ['config_dir ' => '<sub-directory> ' ]]], JSON_PRETTY_PRINT ));
74
75
}
75
76
}
76
77
}
@@ -85,6 +86,6 @@ private function isLegacyVagrantfile($vagrantfile) {
85
86
if (!file_exists ($ vagrantfile )) {
86
87
return false ;
87
88
}
88
- return strpos (file_get_contents ($ vagrantfile ), '# Load the real Vagrantfile ' ) !== FALSE ;
89
+ return strpos (file_get_contents ($ vagrantfile ), '# Load the real Vagrantfile ' ) !== false ;
89
90
}
90
91
}
You can’t perform that action at this time.
0 commit comments