Skip to content
Snippets Groups Projects
Commit 04d70f1d authored by jurgenhaas's avatar jurgenhaas
Browse files

#7 Do not copy .gitkeep files

parent e9aac2df
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,6 @@ class Handler
'README.md',
'{{ project_name }}.starterkit.yml',
'.gitignore',
'.gitkeep',
]);
}
......@@ -316,6 +315,11 @@ class Handler
$finder->files()->in($source);
foreach ($finder as $file) {
// Do not copy .gitkeep files
if ($file->getFilename() == '.gitkeep') {
continue;
}
// Determine relative filename of destination
$relFilename = $file->getRelativePathname();
if ($file->getExtension() == 'twig') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment