Fix a bug when file contains a line that only contains whitespace, editorconfig will fail to process the file.