-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When calling markdown-inject --all with lint-staged, lint-staged will tack staged files onto the end of the call.
Example call from lint-staged:
markdown-inject --all --no-follow-symbolic-links "/Users/<me>/development/projects/<my-project>/package.json"This check causes a code 1 exit:
Lines 41 to 46 in 099784f
| if (options.all && globPattern) { | |
| console.error( | |
| `Options -a / --all and a globPattern ('${globPattern}') can not be provided together. Please select one or the other.` | |
| ) | |
| return process.exit(1) | |
| } |
Example:
Options -a / --all and a globPattern ('/Users/<me>/development/projects/<my-project>/package.json') can not be provided together. Please select one or the other.Metadata
Metadata
Assignees
Labels
No labels