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
Right now, basename lacks the extension and is used, mainly, as the key in the generated object.
This will probably break if we have both conflict.md and conflict.markdown as file inputs.
To fix that, I think we could use hashed absolute paths (unreadable, but don't give away too many details from user environment). Or just get rid of the keys altogether, turning it into an array.
I like this idea of turning the output into an array b/c of possible conflicts. Will consider for next release. Now that I have my CI pipeline and tests working, will be easier to add support.
I'm not sure I understand how
basename
should be expected to work.For example assuming this structure:
CWD is
root
and I run:Results:
basename
does not contain.md
basename
has no path infoExpected:
basename
to contain.md
basename
(or somewhere else in thejson
) should have theroot/dir/(foo|bar)
path infoThe text was updated successfully, but these errors were encountered: