Skip to content

Commit

Permalink
Merge pull request #15 from humanmade/fix-ignore-rules
Browse files Browse the repository at this point in the history
Ignore only root items
  • Loading branch information
roborourke authored May 22, 2019
2 parents f7ca371 + 1915896 commit dee19ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inc/composer/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public function install_files() {
if ( ! file_exists( $dest . '/.gitignore' ) ) {
$entries = [
'# Altis',
'wordpress',
'index.php',
'wp-config.php',
'chassis',
'vendor',
'/wordpress',
'/index.php',
'/wp-config.php',
'/chassis',
'/vendor',
];
file_put_contents( $dest . '/.gitignore', implode( "\n", $entries ) );
}
Expand Down

0 comments on commit dee19ae

Please sign in to comment.