Skip to content
Snippets Groups Projects
Commit 2b122345 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(config): don’t try to massage non-array packageRules

parent 0355b755
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ function massageConfig(config) {
massagedConfig[key] = massageConfig(val);
}
}
if (massagedConfig.packageRules) {
if (is.nonEmptyArray(massagedConfig.packageRules)) {
const newRules = [];
const updateTypes = [
'major',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment