@@ -105,14 +105,14 @@ def install_tool(
105
105
return False
106
106
print ("invalid" )
107
107
uninstall_tool (tool_name , version , directory )
108
- print ("downloading " , tool_name , f"(version { version } )" )
108
+ print ("Downloading " , tool_name , f"(version { version } )" )
109
109
bin_name = str (PurePath (bin_url ).stem )
110
110
if download_file (bin_url , bin_name , no_progress_bar ) is None :
111
111
raise OSError (f"Failed to download { bin_name } from { bin_url } " )
112
112
move_and_chmod_bin (bin_name , f"{ tool_name } -{ version } { suffix } " , directory )
113
113
if not verify_sha512 (get_sha_checksum (bin_url ), destination .read_bytes ()):
114
114
raise ValueError (
115
- f"file was corrupted during download from { bin_url } "
115
+ f"File was corrupted during download from { bin_url } "
116
116
) # pragma: no cover
117
117
return True
118
118
@@ -186,24 +186,24 @@ def create_sym_link(
186
186
if link .exists ():
187
187
if not link .is_symlink ():
188
188
print (
189
- "file " ,
189
+ "File " ,
190
190
str (link ),
191
191
"already exists and it is not a symbolic link. Leaving it as is." ,
192
192
)
193
193
return False
194
194
if not overwrite :
195
195
print (
196
- "symbolic link" ,
196
+ "Symbolic link" ,
197
197
str (link ),
198
198
"already exists. Use '-f' to overwrite. Leaving it as is." ,
199
199
)
200
200
return False
201
201
link .unlink ()
202
- print ("overwriting symbolic link" , str (link ))
202
+ print ("Overwriting symbolic link" , str (link ))
203
203
assert target .exists ()
204
204
try :
205
205
link .symlink_to (target )
206
- print ("symbolic link created" , str (link ))
206
+ print ("Symbolic link created" , str (link ))
207
207
return True
208
208
except OSError as exc : # pragma: no cover
209
209
print (
0 commit comments