Skip to content

Commit

Permalink
Fix comma position in hashfolder.toString (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-ng authored and marc136 committed Sep 2, 2020
1 parent 76ae1d1 commit 1bc7ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function prep(fs, Promise) {
};

HashedFolder.prototype.toString = function (padding = '') {
const first = `${padding}{ name: '${this.name}', hash: '${this.hash},'\n`;
const first = `${padding}{ name: '${this.name}', hash: '${this.hash}',\n`;
padding += ' ';

return `${first}${padding}children: ${this.childrenToString(padding)}}`;
Expand Down

0 comments on commit 1bc7ddf

Please sign in to comment.