Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 6e1730b

Browse files
committed
chore: fix typo
1 parent 265eee5 commit 6e1730b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/cp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const copyToFile = async (context, source, destination, destinationTrail, option
113113

114114
parent = await addSourceToParent(context, source, destination, parent, options)
115115

116-
// update the tree with the new containg directory
116+
// update the tree with the new containing directory
117117
destinationTrail.push(parent)
118118

119119
const newRootCid = await updateTree(context, destinationTrail, options)
@@ -130,7 +130,7 @@ const copyToDirectory = async (context, sources, destination, destinationTrail,
130130
destination = await addSourceToParent(context, source, source.name, destination, options)
131131
}
132132

133-
// update the tree with the new containg directory
133+
// update the tree with the new containing directory
134134
destinationTrail[destinationTrail.length - 1] = destination
135135

136136
const newRootCid = await updateTree(context, destinationTrail, options)

0 commit comments

Comments
 (0)