Skip to content

Commit

Permalink
fix(core): migrate should warn if package does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed May 13, 2024
1 parent d879279 commit 53a8387
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nx/src/command-line/migrate/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,10 @@ async function getPackageMigrationsUsingInstall(
}

result = { ...migrations, packageGroup, version: packageJson.version };
} catch (e) {
logger.warn(
`Unable to fetch migrations for ${packageName}@${packageVersion}: ${e.message}`
);
} finally {
await cleanup();
}
Expand Down

0 comments on commit 53a8387

Please sign in to comment.