Skip to content

Commit

Permalink
Fix #1, add line breaks between each file
Browse files Browse the repository at this point in the history
  • Loading branch information
bilaalrashid committed Oct 3, 2023
1 parent a2b3c7b commit c930139
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ function generate() {
if [ -f "$CUSTOM_RULES_FILE" ]
then
cat $CUSTOM_RULES_FILE
# Ensure there is a line break between the contents of each file
echo ""
fi

for file in "$@"
do
echo "$CACHE_DIRECTORY/$file.gitignore"
done | xargs cat
cat "$CACHE_DIRECTORY/$file.gitignore"
# Ensure there is a line break between the contents of each file
echo ""
done
}

# Batch search all available gitignore files for the specified queries
Expand Down

0 comments on commit c930139

Please sign in to comment.