diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-06-20 12:10:48 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-06-20 12:10:48 +0100 |
| commit | ffa10aa8d40fcb6a19043026b4e1d3d3df3d13f2 (patch) | |
| tree | 40841208cbb18bf73c86589926e425eb86d1a64a /lib/document-to-html.js | |
| parent | 9f9bc763f60e5ef4f22212c52964bde3d3574e26 (diff) | |
Remove unnecessary promises.when
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 747e12f..4c58979 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -71,7 +71,7 @@ function DocumentConversion(options) { outputFormat: options.outputFormat }); Html.write(writer, Html.simplify(html)); - return promises.when(new results.Result(writer.asString(), messages)); + return new results.Result(writer.asString(), messages); }); } |
