modify hooks/pre-commit in order to add EOL

add a scirpt `find . -not -path '*/\.*' -type f| xargs sed -i '' -e '$a\'`  in order to add EOL at end of file