Run WSL in Topgrade if present (fix #163)

This commit is contained in:
Roey Darwish Dror
2019-06-04 09:35:29 +03:00
parent 50a0563bb4
commit 5b179d93d9
4 changed files with 29 additions and 3 deletions

View File

@@ -122,6 +122,9 @@ fn run() -> Result<(), Error> {
#[cfg(windows)]
let should_run_powershell = powershell.profile().is_some() && config.should_run(Step::Powershell);
#[cfg(windows)]
execute(&mut report, "WSL", || windows::run_wsl_topgrade(run_type), true)?;
#[cfg(target_os = "linux")]
let distribution = linux::Distribution::detect();