@@ -288,7 +288,7 @@ fn webview2_version() -> crate::Result<Option<String>> {
288288 ) ;
289289 // check 64bit machine-wide installation
290290 let output = Command :: new ( & powershell_path)
291- . args ( & [ "-NoProfile" , "-Command" ] )
291+ . args ( [ "-NoProfile" , "-Command" ] )
292292 . arg ( "Get-ItemProperty -Path 'HKLM:\\ SOFTWARE\\ WOW6432Node\\ Microsoft\\ EdgeUpdate\\ Clients\\ {F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' | ForEach-Object {$_.pv}" )
293293 . output ( ) ?;
294294 if output. status . success ( ) {
@@ -298,7 +298,7 @@ fn webview2_version() -> crate::Result<Option<String>> {
298298 }
299299 // check 32bit machine-wide installation
300300 let output = Command :: new ( & powershell_path)
301- . args ( & [ "-NoProfile" , "-Command" ] )
301+ . args ( [ "-NoProfile" , "-Command" ] )
302302 . arg ( "Get-ItemProperty -Path 'HKLM:\\ SOFTWARE\\ Microsoft\\ EdgeUpdate\\ Clients\\ {F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' | ForEach-Object {$_.pv}" )
303303 . output ( ) ?;
304304 if output. status . success ( ) {
@@ -308,7 +308,7 @@ fn webview2_version() -> crate::Result<Option<String>> {
308308 }
309309 // check user-wide installation
310310 let output = Command :: new ( & powershell_path)
311- . args ( & [ "-NoProfile" , "-Command" ] )
311+ . args ( [ "-NoProfile" , "-Command" ] )
312312 . arg ( "Get-ItemProperty -Path 'HKCU:\\ SOFTWARE\\ Microsoft\\ EdgeUpdate\\ Clients\\ {F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' | ForEach-Object {$_.pv}" )
313313 . output ( ) ?;
314314 if output. status . success ( ) {
@@ -342,7 +342,7 @@ fn build_tools_version() -> crate::Result<Option<Vec<String>>> {
342342 }
343343 }
344344 let output = cross_command ( vswhere. to_str ( ) . unwrap ( ) )
345- . args ( & [
345+ . args ( [
346346 "-prerelease" ,
347347 "-products" ,
348348 "*" ,
@@ -636,7 +636,7 @@ pub fn command(_options: Options) -> Result<()> {
636636 InfoBlock :: new ( "MSVC" , "" ) . display ( ) ;
637637 for i in build_tools {
638638 indent ( 6 ) ;
639- println ! ( "{}" , format! ( "{} {} ", "-" . cyan( ) , i) ) ;
639+ println ! ( "{} {} " , "-" . cyan( ) , i) ;
640640 }
641641 }
642642 }
0 commit comments