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"