diff --git a/src/backends/backend.js b/src/backends/backend.js index 4f2771aff30d..423206197e1f 100644 --- a/src/backends/backend.js +++ b/src/backends/backend.js @@ -164,7 +164,7 @@ class Backend { return (entry) => { const format = resolveFormat(collectionOrEntity, entry); if (entry && entry.raw !== undefined) { - const data = (format && attempt(format.fromFile.bind(null, entry.raw))) || {}; + const data = (format && attempt(format.fromFile.bind(format, entry.raw))) || {}; if (isError(data)) console.error(data); return Object.assign(entry, { data: isError(data) ? {} : data }); }