nuxt-community / netlify-files-module

Nuxt 2 module to create new _headers, _redirects and netlify.toml files for Netlify or to use existing ones
MIT License
50 stars 5 forks source link

fix: dont broken app when netlifyToml is invalid #24

Closed ricardogobbosouza closed 2 years ago

ricardogobbosouza commented 3 years ago

Dont broken app when netlifyToml is invalid

codecov[bot] commented 3 years ago

Codecov Report

Merging #24 (d194524) into master (75cf5cd) will increase coverage by 2.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #24      +/-   ##
===========================================
+ Coverage   98.00%   100.00%   +2.00%     
===========================================
  Files           1         1              
  Lines          50        51       +1     
  Branches       13        13              
===========================================
+ Hits           49        51       +2     
+ Misses          1         0       -1     
Impacted Files Coverage Δ
src/module.ts 100.00% <100.00%> (+2.00%) :arrow_up:

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 75cf5cd...a0be452. Read the comment docs.

manniL commented 2 years ago

In case the .toml is broken, I'd rather break the app than emitting a warning so unwanted results can be avoided.