mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
add newline at end of file where it's lacking
.editorconfig already enforces it but it's getting changed piecemeal in every commit. just get it done with. the script: ``` find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do isFile=$(file -0 "$file" | cut -d $'\0' -f2) case "$isFile" in (*text*) echo "$file is text" if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then echo "" >> "$file" fi ;; (*) echo "file isn't text" ;; esac done ```
This commit is contained in:
committed by
majcosta
parent
1d58bda82d
commit
86ad401186
+1
-1
@@ -261,4 +261,4 @@ void DamageRiotShield( SOLDIERTYPE* pSoldier, INT32& rsDamage, INT32& rsSecondar
|
||||
extern INT8 GetStealth(SOLDIERTYPE* pSoldier);
|
||||
extern INT8 GetSightAdjustmentBasedOnLBE(SOLDIERTYPE* pSoldier);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user