Skip to content

Commit

Permalink
fix: tweaks within replaceChunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Aug 9, 2019
1 parent 71055c8 commit e008922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ChunkGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ class ChunkGroup {

/**
* @param {Chunk} oldChunk chunk to be replaced
* @param {Chunk} newChunk New chunkt that will be replaced
* @returns {boolean} rerturns true for
* @param {Chunk} newChunk New chunk that will be replaced with
* @returns {boolean} returns true if the replacement was successful
*/
replaceChunk(oldChunk, newChunk) {
const oldIdx = this.chunks.indexOf(oldChunk);
Expand Down

0 comments on commit e008922

Please sign in to comment.