diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-08-15 10:43:48 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-08-15 10:43:48 +0100 |
| commit | 418fe36321815207b100934cc78db997d805b2b2 (patch) | |
| tree | 6f9b7ec76b7d4b227c344ddc2d633332ec88b73f /lib | |
| parent | 57299a40f7517ac4934ac391b44656500bac024d (diff) | |
Avoid mutating argument
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js index 983a32a..e2ff657 100644 --- a/lib/index.js +++ b/lib/index.js @@ -26,7 +26,7 @@ function convertToMarkdown(input, options) { } function convert(input, options) { - options = options || {}; + options = Object.create(options || {}); return unzip.openZip(input) .tap(function(docxFile) { |
