path.resolve() doesn't work like that
fix fetching of /-/all