Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
* Fix emulation of https functions.
* Fix bug where calling `clearFirestoreData` against the Firestore Emulator fails if more than 500 documents exist.
* Fixes a bug where `admin.firestore()` and `app.firestore()` behaved differently.
* Fix issue with npm `6.10` where an internal version check of the `firebase-functions` SDK caused a crash.
3 changes: 2 additions & 1 deletion src/checkFirebaseSDKVersion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";

var _ = require("lodash");
var clc = require("cli-color");
var path = require("path");

Expand Down Expand Up @@ -37,7 +38,7 @@ module.exports = function(options) {
resolve();
}
}).then(function(output) {
if (!output) {
if (!output || _.isEmpty(output)) {
return;
}
var wanted = output["firebase-functions"].wanted;
Expand Down