Skip to content

Commit

Permalink
fix(cli): Avoid infinite loop in namespace migration (#6551)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored May 2, 2023
1 parent 473a96c commit d3aacde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/tasks/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ async function movePackageFromManifestToBuildGradle(
buildGradleReplaced = setAllStringIn(
buildGradleText,
'android {',
' \n',
`namespace "${packageName}"\n`,
'\n',
`\n namespace "${packageName}"`,
);

if (buildGradleText == buildGradleReplaced) {
Expand Down

0 comments on commit d3aacde

Please sign in to comment.