Skip to content

Commit

Permalink
fix(ext/pkgx): migrate to pkgx 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jan 15, 2025
1 parent ed5142e commit bd05620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/ext/src/pkgx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl Extension for Pkgx {
return Ok(ExitStatus::default());
}

let cmd = format!("eval \"$(pkgx --shellcode)\"; {}", cmd);
let cmd = format!("eval \"$(pkgx --shellcode)\" && pkgx^1 deintegrate && pkgx dev integrate ; {}", cmd);
exec(&cmd, tx, out, last_cmd, work_dir)
}

Expand All @@ -62,9 +62,9 @@ impl Extension for Pkgx {
child.wait()?;

Ok(())
}
}integratu

fn format_command(&self, cmd: &str) -> String {
format!("eval \"$(pkgx --shellcode)\"; {}", cmd)
format!("eval \"$(pkgx --shellcode)\" && pkgx^1 deintegrate && pkgx dev integrate ; {}", cmd)
}
}

0 comments on commit bd05620

Please sign in to comment.