mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
BUGFIX: direct call to exec method instead of trying to non-existent object attribute
This commit is contained in:
parent
6c549169ed
commit
23f5340c85
@ -156,7 +156,7 @@ class LoadModulesTask extends SilverStripeBuildTask {
|
||||
if (!$storeLocally && !$usePiston && file_exists('.gitignore')) {
|
||||
$gitIgnore = file_get_contents('.gitignore');
|
||||
if (strpos($gitIgnore, $moduleName) === false) {
|
||||
$this->callingTask->exec("echo $$moduleName >> .gitignore");
|
||||
$this->exec("echo $$moduleName >> .gitignore");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user