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

Bug: explain fix for no change #13

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

AmanPython
Copy link
Contributor

@AmanPython AmanPython commented Jan 8, 2024

  • pixee explain will work in the case of an empty CodeTF file.
  • pixee fix will not change the CodeTF file, if their are no changes.

Fixes(#12)

Suggestion :
I modified the update code to utilize the summarize_results function with the parameters combined_codetf, output=None, and saved_to_file=False. This adjustment eliminates the need for a double loop check for changes recommended by codemodder, making the process more efficient, especially as the number of changes increases. If this approach is not suitable, please inform me, and I will promptly make the necessary adjustments in the same function.

Copy link

sonarqubecloud bot commented Jan 8, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@drdavella drdavella left a comment

Choose a reason for hiding this comment

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

Hi @AmanPython thank you for the contribution! This is a nice change and it looks good to me as-is.

@drdavella drdavella merged commit c8eaa2c into pixee:main Jan 9, 2024
3 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.

2 participants