Skip to content
Snippets Groups Projects
Commit 628ef50c authored by jurgenhaas's avatar jurgenhaas
Browse files

docker4drupal#33 Improve handling of git ignore

parent 9d8708f7
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@
"require": {
"php": ">=7.0",
"composer-plugin-api": "^1.0.0",
"lakedrops/composer-json-utils": "^1.3.2"
"lakedrops/composer-json-utils": "^1.4.0"
},
"require-dev": {
"composer/composer": "^1.5.0",
......
......@@ -46,7 +46,7 @@ class Handler extends BaseHandler {
}
$file = getcwd() . '/.ahoy.yml';
file_put_contents($file, $rendered = Yaml::dump($ahoy, 9, 2));
$this->git('ignore ' . '.ahoy.yml');
$this->gitIgnore('.ahoy.yml');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment