Skip to content

Commit

Permalink
fix: Update to specific versions instead of latest
Browse files Browse the repository at this point in the history
  • Loading branch information
fast-facts committed Nov 21, 2022
1 parent 6e0407c commit 88ee570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngupdate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class NgUpdateService {

if (pkgsToUpdate.length) {
core.info(`🤖 Updating outdated ng dependencies: ${pkgsToUpdate.map(p => `'${p.name}'`)}`);
const ngUpdatePkgsArgs = [...ngUpdateArgs, '--allow-dirty', ...(pkgsToUpdate.map(p => p.name))];
const ngUpdatePkgsArgs = [...ngUpdateArgs, '--allow-dirty', ...(pkgsToUpdate.map(p => `${p.name}@${p.newVersion}`))];
const ngUpdatePkgsOptions: ExecOptions = {
cwd: this.projectPath
};
Expand Down

0 comments on commit 88ee570

Please sign in to comment.