mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 12:23:19 +00:00
feat: include dotfiles (.) in create_highlighted_versions.py search
This commit is contained in:
parent
c71c8980cf
commit
a3f037773a
1 changed files with 2 additions and 1 deletions
|
@ -39,8 +39,9 @@ def get_options(source):
|
|||
|
||||
def create_highlighted_versions(output_basepath):
|
||||
root = os.path.dirname(os.path.abspath(__file__))
|
||||
sources = path.join(root, "source", "*")
|
||||
|
||||
for source in glob.glob(path.join(root, "source", "*", "*")):
|
||||
for source in glob.glob(path.join(sources, "*")) + glob.glob(path.join(sources, ".*")):
|
||||
try:
|
||||
env = os.environ.copy()
|
||||
env.pop("PAGER", None)
|
||||
|
|
Loading…
Reference in a new issue