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): Fix panic when providing invalid urls to --reload #15784

Merged
merged 2 commits into from Sep 6, 2022

Conversation

sagea
Copy link
Contributor

@sagea sagea commented Sep 6, 2022

Description

Modifies the --reload flag to handle invalid URLs gracefully instead of panicking.

#15770

Before:
image

After:

image

image

PR Requirements

  1. Issue for ticket: ✅ [Bug 1.25.1] (Deno has panicked) - Bad url provided to the deno test --reload flag #15770
  2. Tests are written: ✅
  3. Tests pass: ✅
  4. Formatting Passes: ✅
  5. Linting Passes: ✅

@CLAassistant
Copy link

CLAassistant commented Sep 6, 2022

CLA assistant check
All committers have signed the CLA.

@sagea sagea force-pushed the fix-cli-reload-flag-bad-url branch from 65c41f2 to 15a9240 Compare September 6, 2022 03:34
@bartlomieju bartlomieju changed the title Fix(cli): Fix panic when providing invalid urls to --reload fix(cli): Fix panic when providing invalid urls to --reload Sep 6, 2022
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, nice fix @sagea!

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.

None yet

3 participants