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): do not inject script tags due to pages not allowing script tags #710

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

michael-siek
Copy link
Member

@michael-siek michael-siek commented Apr 18, 2023

Closes: #711

@michael-siek michael-siek requested a review from a team as a code owner April 18, 2023 17:03
Zidious
Zidious previously approved these changes Apr 18, 2023
Copy link
Contributor

@Zidious Zidious left a comment

Choose a reason for hiding this comment

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

LGTM -

Tests seems to be failing though

Title should be scoped to CLI

@stephenmathieson
Copy link
Member

Title should be scoped to CLI

The title should also describe the purpose of the commit, not how the commit does it. Refer to the SDLC

@michael-siek michael-siek changed the title fix: remove script injection for page load fix(cli): do not inject script tags due to pages not allowing script tags Apr 19, 2023
Copy link
Contributor

@Zidious Zidious left a comment

Choose a reason for hiding this comment

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

LGTM - minor nit inline feel free to ignore

@@ -78,7 +78,7 @@
],
"statements": 95,
"branches": 92,
"functions": 100,
"functions": 94,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit - This is still above the required coverage, but maintain or increase coverage IMO

Copy link
Member

Choose a reason for hiding this comment

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

How is coverage dropping by removing code? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

I also removed test but those test only tested the thing that I removed

@michael-siek michael-siek merged commit 2e0fdb4 into develop Apr 19, 2023
@michael-siek michael-siek deleted the fix/unable-to-load-script branch April 19, 2023 12:59
@dequejenn dequejenn mentioned this pull request May 1, 2023
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.

unable to run CLI on specific webpages
3 participants