fix(rustup): Fix individual component uninstall
Signed-off-by: innocentzero <isfarulhaque@proton.me>
This commit is contained in:
1 parent
75709a7ed9
commit
a5a0765928
1 file changed
+1
-1
@@ -140,7 +140,7 @@ impl Backend for Rustup {
|
||||
|
||||
cmd.args(get_remove_switches(Repotype::Component))
|
||||
.arg(toolchain);
|
||||
|
||||
iter.next();
|
||||
let component = match iter.next() {
|
||||
Some(name) => name,
|
||||
None => bail!("No component name provided for {}", p.name),
|
||||
|
||||
Reference in new issue
Block a user