diff --git a/cypress/run.js b/cypress/run.js index 7a08479f2fdb..a1afed14d1eb 100644 --- a/cypress/run.js +++ b/cypress/run.js @@ -38,4 +38,4 @@ const runCypress = async () => { } }; -runCypress().catch(error => console.error(error)); +runCypress(); diff --git a/packages/netlify-cms-core/src/actions/config.js b/packages/netlify-cms-core/src/actions/config.js index 534d4c1cf47b..d5fdc7227358 100644 --- a/packages/netlify-cms-core/src/actions/config.js +++ b/packages/netlify-cms-core/src/actions/config.js @@ -208,7 +208,7 @@ export function applyDefaults(originalConfig) { throwOnMissingDefaultLocale(i18n); - const backend = resolveBackend(config); + const backend = resolveBackend(fromJS(config)); for (const collection of config.collections) { if (!('publish' in collection)) {