refactor(util) checkExt: reduce -> join