Skip to content

Commit

Permalink
Merge pull request #61 from XhmikosR/lf
Browse files Browse the repository at this point in the history
Enforce LF in the repo.
  • Loading branch information
bcomnes committed Oct 13, 2021
2 parents b8356ed + 4dd3e18 commit 57502f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Enforce Unix newlines
* text=auto eol=lf
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
node: [14, 12]

steps:
- name: Set git to use LF
if: ${{ matrix.os == 'windows-latest' }}
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2.3.4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.4.1
Expand Down

0 comments on commit 57502f5

Please sign in to comment.