Closed vncoelho closed 6 months ago
There is a strange error, trying to fix this "corrupted" file
@vncoelho Please close
PR and do https://github.com/neo-project/neo-modules/issues/891#issuecomment-2016009178
I will double check
@vncoelho Checkout #893
Looks good,but what is the difference from the PR I opened? The file fix looks the same. The other change looks good, is to avoid for future,right?
@vncoelho I could not change config.json
back to CRLF
; see notes below for reason why.
.gitattributes
File*.json text eol=lf
*.json
files on push/commit.@vncoelho the code itself is right, but you have to update your local setting.
@vncoelho I could not change
config.json
back toCRLF
; see notes below for reason why.You Add to
.gitattributes
File
*.json text eol=lf
- Note: This will automatically normalizes & changes line endings for all
*.json
files on push/commit.
Great, I was thinking about some change to enforce it. It is great that you found the solution.
@vncoelho the code itself is right, but you have to update your local setting.
I do not know what you are trying to say,@vncoelho. The local setting is the same as before.
Great, I was thinking about some change to enforce it. It is great that you found the solution.
@vncoelho We had problems last year with this happening; guess I missed a file.
I faced the same problem, too.
Seems that the crlf are introduced in https://github.com/neo-project/neo-modules/pull/865/files. see git diff -R 79f0d78 origin/master src/ApplicationLogs/config.json
This fix should be sufficient.
@vncoelho
*.json text eol=lf
to .gitattributes
file for this PR to be complete.Soon I will be in the computer as well.
@vncoelho
* Add this line `*.json text eol=lf` to `.gitattributes` file for this PR to be complete.
done
close https://github.com/neo-project/neo-modules/issues/891