Removed: unnecessary cwd in path.resolve.