-
Notifications
You must be signed in to change notification settings - Fork 17
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
Updates #24
Updates #24
Conversation
This looks good. |
I've added two commits, one fixing the missing space (will squash later), the other introducing |
@@ -45,11 +44,14 @@ limits: { | |||
} | |||
``` | |||
|
|||
* `component`: The default `true` requires a component, set to `false` to skip the check. Provide an array of strings to indicate what components are considered valid. |
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.
Looking at this again, it may be better to separate "component required" from "list of valid components" (e.g., component: true
vs. components: [ "Build", "Test", "Core" ]
), perhaps for hypothetical situations where component is optional but must come from the list if specified. I don't think it matters very much (certainly not with respect to jQuery), but thought it was worth raising for consideration.
Uses the scissor line to find the diff and remove it, including the scissor. Fixes #22
@gibson042 I've implemented that change. Makes the code a bit cleaner, too. And makes it easier to access the list for other purposes, like the one suggested in #25. |
On Tue, Oct 7, 2014 at 2:34 PM, Jörn Zaefferer notifications@github.com
It's a core git feature, and I think it's a good idea to support these You should just shell out to |
To do that synchronously in node I currently need to add a dependency on I'll land this as-is for now and publish. |
FYI: |
This PR mixes two fixes and two unrelated changes, though each commit is atomic and should be easy to review. I'm doing a single PR to ping some people just once, please take a look: @mislav (for the #22 fix), @gibson042 (for the #23 fix) and @scottgonzalez. Thanks!