Fix root filepath calculation
Fix root filepath calculation

editorconfig/editorconfig-core-js,jedmao/editorconfig-core-js,seka/editorconfig-core-js,editorconfig/editorconfig-core-js,slang800/editorconfig-core-js