Skip to content
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

fix: Make bin/setup more robust to missing directories #5026

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

focusaurus
Copy link
Contributor

Resolves #5023
Impact: minor
Type: bugfix

Issue

find was failing when one of its command line argument paths was not present.

Solution

Remove redundant path from the find command line arguments. Since we were already searching the entire current directory ("." which is the project root in this case), specifying the imports/plugins/custom path as well is unnecessary and confusing.

Breaking changes

None known.

Testing

  1. Check out the branch for this PR
  2. Set up the conditions that triggered this bug
  3. Run bin/setup. It should succeed.

- Also use bash scrict mode
- Resolves #5023

Signed-off-by: Peter Lyons <[email protected]>
@focusaurus focusaurus added the bug For issues that describe a defect or regression in the released software label Mar 7, 2019
@focusaurus focusaurus self-assigned this Mar 7, 2019
@focusaurus focusaurus merged commit 04aa271 into develop Mar 7, 2019
@focusaurus focusaurus deleted the fix-pete-5023-setup-plugins-custom branch March 7, 2019 22:54
@jeffcorpuz jeffcorpuz mentioned this pull request Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants