Skip to content

Commit

Permalink
fix: crash when an AP does not implement properties()
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 committed Feb 4, 2020
1 parent 421570b commit e2f5a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = function(app) {
}

_.values(pilots).forEach(ap => {
if ( ap ) {
if ( ap && ap.properties ) {
config.properties = { ...ap.properties(), ...config.properties }
}
})
Expand Down

0 comments on commit e2f5a66

Please sign in to comment.