Skip to content

Commit

Permalink
chore(release): Quick fixes to 9.1.0 (#3003)
Browse files Browse the repository at this point in the history
* Changelog errors

* try/catch around install
  • Loading branch information
jamesdaniels authored Oct 8, 2021
1 parent 236b658 commit 95edc36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
### Misc.

* `Analytics`, `RemoteConfig`, and `Messaging` can be `null` if `isSupported()` returns false, this guards against runtime failures in unsupported environments at the cost of null checking
* Require Firebase 7.1 peer
* Require Firebase 9.1 peer
* `ng add` installs firebase-tools globally, this also addressed the race condition
* Requires firebase-tools 9.9+ peer (optional)
* Moved peer dependencies for the schematics to proper dependencies
* Mark compatability with rxjs 7
* Mark compatibility with rxjs 7
* Increase the accuracy of performance marks
* `ng deploy` echos out the firebase-tools version and the user
* Error message improvements
Expand Down
6 changes: 5 additions & 1 deletion src/schematics/deploy/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ export const deployToFunction = async (
// tslint:disable-next-line:no-non-null-assertion
const siteTarget = options.target ?? context.target!.project;

execSync(`npm --prefix ${functionsOut} i`);
try {
execSync(`npm --prefix ${functionsOut} i`);
} catch (e) {
console.warn(e.messsage);
}

if (options.preview) {

Expand Down

0 comments on commit 95edc36

Please sign in to comment.