-
Notifications
You must be signed in to change notification settings - Fork 565
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: increase default levels deep to 2 for --all-projects
#970
Conversation
b470cab
to
b1c0822
Compare
@@ -24,7 +24,7 @@ export async function getDepsFromPlugin( | |||
let inspectRes: pluginApi.InspectResult; | |||
|
|||
if (options.allProjects) { | |||
const levelsDeep = options.detectionDepth || 1; // default to 1 level deep | |||
const levelsDeep = options.detectionDepth; |
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.
default defined inside find
function is 2
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 can predict the future!
goes to buy lottery ticket
we could update help text with new default depth |
b1c0822
to
a666a6c
Compare
For `--all-projects` arg only. Two was selected based on usage seen so far. Updated help text with new default.
a666a6c
to
7c60f77
Compare
🎉 This PR is included in version 1.281.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this PR do?
Enable the default detection depths to increase from 1 to 2 folders deep.