From 72f7a6d651bdc6a8eaf30409ae1c2d7d7adafa6b Mon Sep 17 00:00:00 2001 From: Dan Flettre Date: Mon, 6 Mar 2017 14:51:18 -0600 Subject: [PATCH] update to standard v9 --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 3a2edb5..52db3c0 100644 --- a/index.js +++ b/index.js @@ -563,8 +563,8 @@ WA.prototype.getExerciseText = function printExercise (specifier, contentOnly, c } if (!contentOnly) { stream.append(exercise.footer, this.options.defaultOutputType) || - stream.append(this.options.footer, this.options.defaultOutputType) && - stream.append('\n') + (stream.append(this.options.footer, this.options.defaultOutputType) && + stream.append('\n')) } callback(null, stream) }.bind(this)) diff --git a/package.json b/package.json index 53e3a4c..e7f4b0d 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "example": "examples" }, "devDependencies": { - "standard": "^8.6.0" + "standard": "^9.0.0" }, "scripts": { "test": "standard"