Skip to content

adds helpful error message when files is overridden or empty - #96

Merged
kentcdodds merged 1 commit into
all-contributors:masterfrom
tyler-reitz:enhancement/common-errors-files-overridden
Jun 19, 2018
Merged

kentcdodds merged 1 commit into
all-contributors:masterfrom
tyler-reitz:enhancement/common-errors-files-overridden

Conversation

@tyler-reitz

Copy link
Copy Markdown
Contributor

What:
Adds helpful error message when files in project config is overridden or empty

Why:
enhances developer experience

How:
adds check and error message to util.writeConfig

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #96 into master will increase coverage by 0.22%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   53.99%   54.21%   +0.22%     
==========================================
  Files          19       19              
  Lines         413      415       +2     
  Branches       68       69       +1     
==========================================
+ Hits          223      225       +2     
  Misses        161      161              
  Partials       29       29
Impacted Files Coverage Δ
src/util/config-file.js 70.83% <100%> (+2.65%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4a0484...d4dc4e2. Read the comment docs.

@kentcdodds kentcdodds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cool! Thanks!

@kentcdodds
kentcdodds merged commit 3f2ae00 into all-contributors:master Jun 19, 2018
@kentcdodds

Copy link
Copy Markdown
Member

@jfmengels, could you add @tyler-reitz as a collaborator in GitHub please?

@tyler-reitz

Copy link
Copy Markdown
Contributor Author

thanks!

@tyler-reitz
tyler-reitz deleted the enhancement/common-errors-files-overridden branch June 20, 2018 01:09
@tyler-reitz
tyler-reitz restored the enhancement/common-errors-files-overridden branch June 20, 2018 02:13
Berkmann18 pushed a commit that referenced this pull request May 24, 2020
* infra: add semantic release

* infra: add semantic release
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.

3 participants