mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[formatters][csharp] Reverted changes of da2185f (linefeed leftover state when switching branches) as this was not the issue.
This commit is contained in:
parent
bb7965bb1a
commit
3ffa9f1d31
@ -11,15 +11,7 @@ log_title "C# Formatting"
|
|||||||
if command -v dotnet &> /dev/null; then
|
if command -v dotnet &> /dev/null; then
|
||||||
# Store original directory
|
# Store original directory
|
||||||
pushd "$dir" > /dev/null
|
pushd "$dir" > /dev/null
|
||||||
|
|
||||||
# Ensure line endings are reset after checkout from default branch
|
|
||||||
git rm --cached -r ../spine-csharp/
|
|
||||||
git rm --cached -r ../spine-monogame/
|
|
||||||
git rm --cached -r ../spine-unity/
|
|
||||||
git checkout HEAD -- ../spine-csharp/
|
|
||||||
git checkout HEAD -- ../spine-monogame/
|
|
||||||
git checkout HEAD -- ../spine-unity/
|
|
||||||
|
|
||||||
cp .editorconfig ../spine-csharp/ 2>/dev/null || true
|
cp .editorconfig ../spine-csharp/ 2>/dev/null || true
|
||||||
cp .editorconfig ../spine-monogame/ 2>/dev/null || true
|
cp .editorconfig ../spine-monogame/ 2>/dev/null || true
|
||||||
cp .editorconfig ../spine-unity/ 2>/dev/null || true
|
cp .editorconfig ../spine-unity/ 2>/dev/null || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user