Editorconfig visual studio extension will will fail to process a file that contains a line that only contains white spaces.
When processing a line only contains whitespaces, pos will become -1 when reached beginning of the line. Then content[-1] will cause a out of index exception.
Editorconfig visual studio extension will will fail to process a file that contains a line that only contains white spaces.
When processing a line only contains whitespaces, pos will become -1 when reached beginning of the line. Then content[-1] will cause a out of index exception.