mirror of
https://github.com/sharkdp/bat
synced 2024-11-06 21:20:25 +00:00
feat: include dotfiles (.) in create_highlighted_versions.py search
This commit is contained in:
parent
c71c8980cf
commit
a3f037773a
@ -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 New Issue
Block a user