Skip to content

Commit 39cad92

Browse files
authored
Fix comma position in hashfolder.toString (#74)
1 parent 63bcd28 commit 39cad92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ const HashedFolder = function HashedFolder(name, children, options, isRootElemen
312312
};
313313

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

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

0 commit comments

Comments
 (0)