-
Notifications
You must be signed in to change notification settings - Fork 8
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
Up deps, fix vuls, update fixtures #18
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.
LGTM, thanks for all the work here =)
@@ -1 +1,2 @@ | |||
node_modules/ | |||
yarn.lock |
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 don't use Yarn in this repo so shouldn't really need this =/ This seems like it should be in the developer's global .gitignore
-- or they should use npm install
Will leave it though I guess, doesn't really hurt anyone, though might confuse them
@@ -29,8 +29,8 @@ exports._parse = function (argv, _console, callback) { | |||
DEFAULT_SLEEP_MS) | |||
.option('--concurrency <concurrency>', | |||
'Amount of requests to run in parallel, defaults to ' + DEFAULT_CONCURRENCY, DEFAULT_CONCURRENCY) | |||
.option('--usermedium <usermedium>', 'Medium where the CSS will be used (e.g. `all` (service default), `print`, `screen`)') | |||
.option('--profile <profile>', 'CSS profile to use for validation (e.g. `css3svg` (service default), `css21`, `svg`)') | |||
.option('--usermedium <usermedium>', 'Medium where the CSS will be used (e.g. `all` (service default), `print`, `screen`)') // jscs:disable |
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'm guessing this is for line length, would prefer we silence that rule explicitly. Will update
@@ -96,7 +99,7 @@ exports._parse = function (argv, _console, callback) { | |||
} | |||
|
|||
// Continue | |||
setTimeout(cb, program.sleep); | |||
setTimeout(cb, opts.delay); |
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.
👍 Nice catch, surprised nobody reported this earlier o_o
@@ -54,17 +57,17 @@ exports._parse = function (argv, _console, callback) { | |||
} | |||
|
|||
// Otherwise, perform our validation | |||
async.eachOfLimit(filepathContentArr, program.concurrency, | |||
async.eachOfLimit(filepathContentArr, opts.concurrency, |
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.
Was confused why we needed this change -- turns out in Commander@7 they moved it to an inner object to avoid unsafe usage:
This has been landed in |
opt.delay
instead ofsleep
closes #10