From bd861def5b42087635779cf212a2e73e8df55be8 Mon Sep 17 00:00:00 2001 From: Loic Plaire Date: Tue, 27 Feb 2018 13:54:04 +1100 Subject: [PATCH] Fix typo in the synchronous loader code example `this.callback` was called with `sourceMaps` instead of `map`. --- src/content/api/loaders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/api/loaders.md b/src/content/api/loaders.md index fef9b97be890..bf449f0c36ce 100644 --- a/src/content/api/loaders.md +++ b/src/content/api/loaders.md @@ -36,7 +36,7 @@ __sync-loader-with-multiple-results.js__ ``` js module.exports = function(content, map, meta) { - this.callback(null, someSyncOperation(content), sourceMaps, meta); + this.callback(null, someSyncOperation(content), map, meta); return; // always return undefined when calling callback() }; ```