Your editor has a broken configuration. All files should end with a new line, but yours stripped it. Configure it to do the opposite and add a new line if it does not exists.