mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-19 04:21:06 +00:00
create_highlighted_versions: fix misleading/wrong error message
This commit is contained in:
parent
4081ace4b9
commit
0b63ad5e8b
@ -91,7 +91,7 @@ def create_highlighted_versions(output_basepath):
|
|||||||
p.map(create_highlighted_version, sources)
|
p.map(create_highlighted_version, sources)
|
||||||
except subprocess.CalledProcessError as err:
|
except subprocess.CalledProcessError as err:
|
||||||
print(
|
print(
|
||||||
"=== Error: Could not highlight source file '{}".format(source),
|
"=== Error: Could not highlight source file:\n" + " ".join(err.cmd),
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
print(
|
print(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user