Skip to content

Commit

Permalink
Merge branch 'main' into port-team-id
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-crabnebula committed Oct 20, 2023
2 parents 294753d + 3384beb commit 7eea25a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-path-not-exist-error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-packager": patch
---

Fixed an error message that the source path does not exist when packaging .app
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "Apache-2.0 OR MIT"
repository = "https://github.com/crabnebula-dev/cargo-packager"

[workspace.dependencies]
thiserror = "1.0.49"
thiserror = "1.0.50"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
dunce = "1"
Expand Down
2 changes: 1 addition & 1 deletion crates/packager/src/package/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fn create_info_plist(
#[tracing::instrument(level = "trace")]
fn copy_dir(from: &Path, to: &Path) -> crate::Result<()> {
if !from.exists() {
return Err(crate::Error::AlreadyExists(from.to_path_buf()));
return Err(crate::Error::DoesNotExist(from.to_path_buf()));
}
if !from.is_dir() {
return Err(crate::Error::IsNotDirectory(from.to_path_buf()));
Expand Down

0 comments on commit 7eea25a

Please sign in to comment.