Home > Net >  Code formating is broken for one of ouer projects but only on github
Code formating is broken for one of ouer projects but only on github

Time:12-08

I noticed in a pull request from a colleague the formatting was off, we dobbel checked his local repo and all looked ok on his end.

I tried doing a small change pushed and still same issue, anyone seen anything like this?

File open in vs2022

local cs file

Same file at github

Github cs file

one more exsamlpe same repo,, diffrent random file enter image description here

enter image description here

CodePudding user response:

template code seems to use tabs, and all the lines we have touched comes with .... (4spaces)

this seems to break on the github side. case closed.

enter image description here

  • Related