Remove unnecessary path.resolves