-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Make internel error frames dimmer #4201
Conversation
b973084
to
4e81034
Compare
cli/fmt_errors.rs
Outdated
script_name: String, | ||
line: i64, | ||
column: i64, | ||
is_raw: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/is_raw/is_internal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool feature!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Make frames with filename prefixed with
$deno$
dimmer.For a given script:
On dark terminal:
![Screen Shot 2020-02-29 at 5 41 45 PM](https://user-images.githubusercontent.com/15007517/75617938-d17b0880-5b1a-11ea-89ca-a2efc119513c.png)
![Screen Shot 2020-02-29 at 5 42 02 PM](https://user-images.githubusercontent.com/15007517/75617939-d50e8f80-5b1a-11ea-9b0b-e2d5a4a0af8d.png)
On light terminal:
NO_COLOR=1
still works just as before.