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(cli): invalid type error when missing exclude flag #69

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

ekkolon
Copy link
Owner

@ekkolon ekkolon commented Mar 3, 2024

This PR resolves an error caused by parsing workspace configuration and merging it with user-provided CLI arguments/flags. Users had to explicitly add the exclude flag or provide it's value in the licensarc.json file, which is ultimately undesirable.

Now, users are not required to explicitly provide this flag nor add it to the licensarc.json file.

Closes #66

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

This PR resolves an error caused by parsing workspace configuration
and merging it with user-provided CLI arguments/flags.
Users had to explicitly add the `exclude` flag or provide it's value
in the licensarc.json file, which is ultimately undesirable.

Now, users are not required to explicitly provide this flag nor add it
to the licensarc.json file.

Closes #66
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 70.4%. Comparing base (a44e8d3) to head (ff05a37).

Files Patch % Lines
src/config.rs 0.0% 7 Missing ⚠️
src/commands/verify.rs 0.0% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##            main     #69     +/-   ##
=======================================
+ Coverage   70.3%   70.4%   +0.1%     
=======================================
  Files         25      25             
  Lines       2760    2777     +17     
=======================================
+ Hits        1941    1956     +15     
- Misses       819     821      +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ekkolon ekkolon merged commit e480994 into main Mar 3, 2024
6 checks passed
@ekkolon ekkolon deleted the fix-#66-invalid-type-null-error branch March 3, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: invalid type null error when running apply command
2 participants