Skip to content

Commit

Permalink
fix(schematics): fixed the switch-to-cli17 migration to handle the ca…
Browse files Browse the repository at this point in the history
…se when the CLI file isn't present
  • Loading branch information
vsavkin committed Feb 28, 2018
1 parent 58e99ab commit 45fda44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/schematics/migrations/20180225-switch-to-cli17.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export default {
['karma-cli']: undefined
};


json.dependencies = {
...json.dependencies,
"@angular/animations": "5.2.6",
Expand All @@ -35,6 +34,8 @@ export default {
};
});

unlinkSync('.angular_cli165.tgz');
try {
unlinkSync('.angular_cli165.tgz');
} catch (e) {}
}
};

0 comments on commit 45fda44

Please sign in to comment.