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: yarn argument value identified as a package #166

Merged

Conversation

yoavsbg
Copy link
Contributor

@yoavsbg yoavsbg commented Feb 18, 2024

Fixes #156

In case of Number, handle it as Argument and skip this word.
After the fix:
Screen Shot 2024-02-18 at 21 42 13

Copy link
Collaborator

@baruchiro baruchiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the definition of done (the checklist) on #156

@yoavsbg
Copy link
Contributor Author

yoavsbg commented Feb 18, 2024

Sorry
Added tests🤘🏻

Copy link
Collaborator

@baruchiro baruchiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every time I think something is a simple fix, but nothing in the shared.js file is simple for newcomers (and even for me, after long time). We need to refactor it to be simpler but it is not the scope.

I hope you will find the way to improve your contribution after my comment ☺️

Please let me know if you need help to complete this PR.

tests/real-examples/real-examples.yaml Show resolved Hide resolved
src/content/registry/shared.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@baruchiro baruchiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@baruchiro baruchiro merged commit 53be4e7 into os-scar:master Feb 21, 2024
3 of 5 checks passed
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.

yarn argument value identified as a package
2 participants