Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Dec 10, 2024
1 parent 25e8fe5 commit e497278
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ pub fn build_dylib(cfg: BuildConfig) -> Result<PathBuf> {
}

// Split by dash and check if the last segment before .wasm looks like a hash
// The deps folder contains many wasm files with hashes in their names, as deps, but we
// only want the wasm file from the project that does not have a hash in it as the final wasm to deploy.
let parts: Vec<&str> = filename_str
.split(".wasm")
.next()
Expand Down

0 comments on commit e497278

Please sign in to comment.