We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea000b commit 36cf816Copy full SHA for 36cf816
scripts/config.js
@@ -18,7 +18,7 @@ try {
18
//
19
// maintainers data
20
21
-config.maintainers = config.maintainers.map(function(maintainer) {
+config.maintainers = (config.maintainers || []).map(function(maintainer) {
22
if (db.maintainers[maintainer.npm])
23
mixin(maintainer, db.maintainers[maintainer.npm])
24
@@ -28,7 +28,7 @@ config.maintainers = config.maintainers.map(function(maintainer) {
28
29
// projects data
30
31
-config.projects = config.projects.map(function(project) {
+config.projects = (config.projects || []).map(function(project) {
32
if (typeof(project) === 'string') project = {name: project}
33
34
// dealing with a bit weird edge-case in config file
0 commit comments