Skip to content

Commit c41d28f

Browse files
authored
fix(cli): Make update from windows use proper paths on Podfile (#5906)
1 parent d92467f commit c41d28f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cli/src/ios/update.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ async function generatePodFile(
164164
return '';
165165
}
166166

167-
return ` pod '${p.ios.name}', :path => '${relative(
168-
podfilePath,
169-
await realpath(p.rootPath),
167+
return ` pod '${p.ios.name}', :path => '${convertToUnixPath(
168+
relative(podfilePath, await realpath(p.rootPath)),
170169
)}'\n`;
171170
}),
172171
);

0 commit comments

Comments
 (0)