You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Options -a / --all and a globPattern ('${globPattern}') can not be provided together. Please select one or the other.`
)
returnprocess.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.
The text was updated successfully, but these errors were encountered:
We aren't checking for multiple globPatterns, so slapping './**/*.md' and a bunch of paths together is no problemo. It's maybe a little opaque that the staged paths are completely ignored, though.
When calling
markdown-inject --all
withlint-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:
markdown-inject/src/index.ts
Lines 41 to 46 in 099784f
Example:
The text was updated successfully, but these errors were encountered: