diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-16 23:55:23 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-16 23:55:23 +0100 |
| commit | eca69e9212cec84de5aa714fe50a3835a8d6a9c6 (patch) | |
| tree | 6bd68621c6d28717794c0e9d9bfae18920c4863b /lib/document-to-html.js | |
| parent | 28254f95c0792cb4370619c23ddf9d6d1b3c5e63 (diff) | |
Rename promises.mapSeries() to promises.forEachSeries()
Diffstat (limited to 'lib/document-to-html.js')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 32c455f..9e85c8e 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -51,7 +51,7 @@ function DocumentConversion(options, comments) { } }); var deferredValues = Object.create(null); - return promises.mapSeries(deferredNodes, function(deferred) { + return promises.forEachSeries(deferredNodes, function(deferred) { return deferred.value().then(function(value) { deferredValues[deferred.id] = value; }); |
