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 error when using single quotes in UI builder #1709

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Aug 30, 2023

Fixes #1427.

Previously the UI builder would crash if you inputted a quote, due to the code editor actually trying to interpret the code. This is fixed by escaping the quotes.

@Mrtenz Mrtenz requested a review from a team as a code owner August 30, 2023 08:31
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (5ed28e4) 95.87% compared to head (c3c4ab0) 95.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1709   +/-   ##
=======================================
  Coverage   95.87%   95.87%           
=======================================
  Files         239      239           
  Lines        5401     5401           
  Branches      836      836           
=======================================
  Hits         5178     5178           
  Misses        223      223           
Files Changed Coverage Δ
...ages/snaps-simulator/src/features/builder/utils.ts 78.84% <100.00%> (ø)

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

@Mrtenz Mrtenz merged commit 094bcca into main Aug 30, 2023
131 checks passed
@Mrtenz Mrtenz deleted the mrtenz/simulator-quotes branch August 30, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simulator crashes when entering quote in UI editor
2 participants