@ebowwa/pkg-ops 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rust/src/lib.rs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebowwa/pkg-ops",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "description": "Package operations CLI - installs @ebowwa/* npm packages and manages systemd services",
6
6
  "bin": {
package/rust/src/lib.rs CHANGED
@@ -1088,7 +1088,7 @@ pub fn switch_version(package_name: &str, target_version: &str) -> SwitchResult
1088
1088
  SwitchResult {
1089
1089
  success: true,
1090
1090
  package_name: package_name.to_string(),
1091
- from_version: current_version,
1091
+ from_version: current_version.clone(),
1092
1092
  to_version: target_version.to_string(),
1093
1093
  message: format!("Switched from {} to {}", current_version, target_version),
1094
1094
  }