Skip to content

Commit 95edc36

Browse files
authored
chore(release): Quick fixes to 9.1.0 (#3003)
* Changelog errors * try/catch around install
1 parent 236b658 commit 95edc36

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
### Misc.
1919

2020
* `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
21-
* Require Firebase 7.1 peer
21+
* Require Firebase 9.1 peer
2222
* `ng add` installs firebase-tools globally, this also addressed the race condition
2323
* Requires firebase-tools 9.9+ peer (optional)
2424
* Moved peer dependencies for the schematics to proper dependencies
25-
* Mark compatability with rxjs 7
25+
* Mark compatibility with rxjs 7
2626
* Increase the accuracy of performance marks
2727
* `ng deploy` echos out the firebase-tools version and the user
2828
* Error message improvements

src/schematics/deploy/actions.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ export const deployToFunction = async (
226226
// tslint:disable-next-line:no-non-null-assertion
227227
const siteTarget = options.target ?? context.target!.project;
228228

229-
execSync(`npm --prefix ${functionsOut} i`);
229+
try {
230+
execSync(`npm --prefix ${functionsOut} i`);
231+
} catch (e) {
232+
console.warn(e.messsage);
233+
}
230234

231235
if (options.preview) {
232236

0 commit comments

Comments
 (0)