Skip to content

Commit

Permalink
fix: allow unlimited alias count (#3570)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Apr 9, 2020
1 parent 3dd5612 commit bfb2e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/netlify-cms-core/src/actions/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function mergePreloadedConfig(preloadedConfig, loadedConfig) {
}

function parseConfig(data) {
const config = yaml.parse(data);
const config = yaml.parse(data, { maxAliasCount: -1 });
if (typeof CMS_ENV === 'string' && config[CMS_ENV]) {
Object.keys(config[CMS_ENV]).forEach(key => {
config[key] = config[CMS_ENV][key];
Expand Down

0 comments on commit bfb2e2b

Please sign in to comment.