Skip to content

Commit

Permalink
make code more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 16, 2018
1 parent 6ce0bc4 commit b476642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function getSettingsCollector(server, kbnServer) {

// return nothing when there was no result
let settingsDoc;
if (kibanaSettingsData != null) { // test null or undefined
if (kibanaSettingsData !== null) {
settingsDoc = {
kibana: getKibanaInfoForStats(server, kbnServer),
...kibanaSettingsData
Expand Down

0 comments on commit b476642

Please sign in to comment.