Skip to content

Commit

Permalink
fix: typo in comment for ipfs fetching in forc-pkg (#6236)
Browse files Browse the repository at this point in the history
## Description

Curretnly CI is broken as spellcheck is finding a new error it used to
not found. This pr fixes it to get CI passing again.
  • Loading branch information
kayagokalp authored Jul 5, 2024
1 parent bcd1cf9 commit f81b6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forc-pkg/src/source/ipfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl Cid {
/// Using local node, fetches the content described by this cid.
async fn fetch_with_client(&self, ipfs_client: &IpfsClient, dst: &Path) -> Result<()> {
let cid_path = format!("/ipfs/{}", self.0);
// Since we are fetching packages as a fodler, they are returned as a tar archive.
// Since we are fetching packages as a folder, they are returned as a tar archive.
let bytes = ipfs_client
.get(&cid_path)
.map_ok(|chunk| chunk.to_vec())
Expand Down

0 comments on commit f81b6c2

Please sign in to comment.