Skip to content

Commit

Permalink
Merge pull request #85 from SlimeYummy/issue/aarch64-wasm
Browse files Browse the repository at this point in the history
fix aarch64 wasm CI
  • Loading branch information
SlimeYummy authored Jul 28, 2024
2 parents f2518c5 + 4ad9125 commit ecc2f6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
jobs:
linux_x86_64:
machine:
image: ubuntu-2004:current
image: ubuntu-2204:current
resource_class: medium
steps:
- checkout
Expand All @@ -32,7 +32,7 @@ jobs:

linux_aarch64:
machine:
image: ubuntu-2004:current
image: ubuntu-2204:current
resource_class: arm.medium
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl Archive<Cursor<Vec<u8>>> {
pub fn from_path(path: &str) -> Result<Archive<Cursor<Vec<u8>>>, OzzError> {
match crate::nodejs::read_file(path) {
Ok(buf) => return Archive::from_vec(buf),
Err(err) => return Err(OzzError::Custom(err.as_string().unwrap_or("".into()))),
Err(err) => return Err(OzzError::Custom(Box::new(err.as_string().unwrap_or("".into())))),
};
}
}
Expand Down

0 comments on commit ecc2f6b

Please sign in to comment.