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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major update #4

Merged
merged 3 commits into from
Sep 10, 2018
Merged

Major update #4

merged 3 commits into from
Sep 10, 2018

Conversation

deftomat
Copy link
Contributor

@deftomat deftomat commented Sep 1, 2018

  • Show SUCCESS message even when there are excluded warnings:
    There was no notification when build succeed with warnings and excludeWarnings was set to true.
  • Show basename instead of the full path:
    Full path was unusable as text was truncated and I never saw an actual filename (I'm on macOS).
  • Updated messages:
    "Build succeeded" was quite misleading as notification can fire before webpack emits files, especially in first build.
  • Simplified code:
    I slightly updated a code to make it more straightforward 馃槈

- Show SUCCESS message even when there are excluded warnings.
- Show basename instead of the full path.
- Updated messages.
- Simplified code.
index.js Outdated
title: util.format('%sType check succeeded', this.titlePrefix),
message: util.format(
'%s%s',
'Not type errors found.',
Copy link
Owner

Choose a reason for hiding this comment

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

Could this be 'No type errors!' please? It's chirpier 馃榿

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. "not" is obviously a typo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@johnnyreilly
Copy link
Owner

Thanks for the PR! I'm on my phone right now but I'll try and take a proper look when next at a laptop

@johnnyreilly
Copy link
Owner

FWIW I feel shame I still haven't written tests for this package 馃槰

@deftomat
Copy link
Contributor Author

deftomat commented Sep 1, 2018

@johnnyreilly At least there is an issues section 馃檪

@johnnyreilly johnnyreilly merged commit 0f77f82 into johnnyreilly:master Sep 10, 2018
@johnnyreilly
Copy link
Owner

@johnnyreilly
Copy link
Owner

Baby steps of actually adding tests now 馃槃

#6

@deftomat
Copy link
Contributor Author

Awesome !

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

2 participants