Skip to content

Commit fdb016d

Browse files
authored
chore: capitalize output first letter (#83)
1 parent adff0fb commit fdb016d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang_tools/install.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ def install_tool(
105105
return False
106106
print("invalid")
107107
uninstall_tool(tool_name, version, directory)
108-
print("downloading", tool_name, f"(version {version})")
108+
print("Downloading", tool_name, f"(version {version})")
109109
bin_name = str(PurePath(bin_url).stem)
110110
if download_file(bin_url, bin_name, no_progress_bar) is None:
111111
raise OSError(f"Failed to download {bin_name} from {bin_url}")
112112
move_and_chmod_bin(bin_name, f"{tool_name}-{version}{suffix}", directory)
113113
if not verify_sha512(get_sha_checksum(bin_url), destination.read_bytes()):
114114
raise ValueError(
115-
f"file was corrupted during download from {bin_url}"
115+
f"File was corrupted during download from {bin_url}"
116116
) # pragma: no cover
117117
return True
118118

@@ -186,24 +186,24 @@ def create_sym_link(
186186
if link.exists():
187187
if not link.is_symlink():
188188
print(
189-
"file",
189+
"File",
190190
str(link),
191191
"already exists and it is not a symbolic link. Leaving it as is.",
192192
)
193193
return False
194194
if not overwrite:
195195
print(
196-
"symbolic link",
196+
"Symbolic link",
197197
str(link),
198198
"already exists. Use '-f' to overwrite. Leaving it as is.",
199199
)
200200
return False
201201
link.unlink()
202-
print("overwriting symbolic link", str(link))
202+
print("Overwriting symbolic link", str(link))
203203
assert target.exists()
204204
try:
205205
link.symlink_to(target)
206-
print("symbolic link created", str(link))
206+
print("Symbolic link created", str(link))
207207
return True
208208
except OSError as exc: # pragma: no cover
209209
print(

0 commit comments

Comments
 (0)