Remove unneeded cwd as first resolve param