Skip to content

Commit

Permalink
Merge remote-tracking branch 'couchbase/vulcan' into alice
Browse files Browse the repository at this point in the history
* MB-32142: Pass empty string instead of undefined to js_beautify func

Change-Id: I0efdaa9cb2f9fb2bc644a0413a65ab11fdb4b2e7
  • Loading branch information
pavel-blagodov committed Dec 2, 2018
2 parents aeeeb40 + 83c5d3a commit fb8e6ad
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@

function prepareDocForCodeMirror(doc) {
doc.metaJSON = angular.toJson(doc.meta, 2);
doc.jsonJSON = js_beautify(doc.json, {"indent_size": 2});
doc.jsonJSON = js_beautify(doc.json || "", {"indent_size": 2});
return doc;
}

Expand Down

0 comments on commit fb8e6ad

Please sign in to comment.