-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tmp fix for exercise 9 #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the two comments, the change looks good to me.
, split = require('split') | ||
, chalk = require('chalk') | ||
, tuple = require('tuple-stream') | ||
, through2 = require('through2') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependencies are not added to packages.json.
exercise = comparestdout(exercise) | ||
exercise.addProcessor(function (mode, callback) { | ||
let outputStream = through2.obj(function (chunk) { | ||
const result = chunk[0] === chunk[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use ES2015 let
and const
. var
would do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed that, but what's the reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still support old Node.js I think
Thank you! |
temporary fix for issue #92 (and #81), a legit fix would have to re-implement comparestdout.js, but just to compare first two lines