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
feat: support --patches-dir
on patch-commit command
#6215
Conversation
💖 Thanks for opening this pull request! 💖 |
7f47b6d
to
e84ca50
Compare
--patches-dir
to patch-commit command--patches-dir
on patch-commit command
const userDir = params[0] | ||
const lockfileDir = opts.lockfileDir ?? opts.dir ?? process.cwd() | ||
const patchesDir = path.join(lockfileDir, 'patches') | ||
const patchesDirName = opts.patchesDir ?? 'patches' | ||
const patchesDir = path.join(lockfileDir, patchesDirName) |
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 thought about supporting arbitrary path for patches-dir
, but realize it's likely not a common case and will require more changes, so decide to always assume path under lockfileDir
.
4f56b34
to
a573d71
Compare
Congrats on merging your first pull request! 🎉🎉🎉 |
This is for #6202