mstruebing / tldr

Golang command line client for tldr https://github.com/tldr-pages/tldr
MIT License
262 stars 24 forks source link

fix(listAll): only consider markdown files as pages #41

Closed mstruebing closed 5 years ago

mstruebing commented 5 years ago

What I did: I only consider markdown files as pages, so I check if they have a .md suffix.

Why I did it: because there came an index.json file as a possible outcome for autocompletion and also in the --list-all view.

closes #42

codecov-io commented 5 years ago

Codecov Report

Merging #41 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   65.88%   65.88%           
=======================================
  Files           3        3           
  Lines         170      170           
=======================================
  Hits          112      112           
  Misses         33       33           
  Partials       25       25
Impacted Files Coverage Δ
cache/cache.go 56.66% <100%> (ø) :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 2ed9361...ec0214b. Read the comment docs.