Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Aug 1, 2022
1 parent 7cd78d4 commit 6064573
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class Migrate {
public run() {
// prepare changeFileTask
(() => {
this.rewritePackageJson();

// iOS
this.rewritePod();
this.rewritePbxproj();
Expand All @@ -70,7 +72,7 @@ class Migrate {
const matchKey = Object.keys(changePackageVersion).find(key => line.includes(key));
if (matchKey) {
// @ts-ignore
return line.replace(this.RegD, changeGradleVersion[matchKey]);
return line.replace(this.RegD, changePackageVersion[matchKey]);
}
if (line.includes('verify:ios')) {
return line.replace('-scheme Plugin && cd', '-scheme Plugin -destination generic/platform=iOS && cd');
Expand Down

0 comments on commit 6064573

Please sign in to comment.