Skip to content

Commit 2142930

Browse files
committed
Fix typoe in the 'Skip Prefix' example
Closes #82
1 parent b11b6b2 commit 2142930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/skip-prefix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var opts = {
1818
hooks: {
1919
onSaveSpritesheet: function(opts, spritesheet) {
2020
// We assume that the groups is not an empty array
21-
var filenameChunks = spritesheet.groups.slice().push('png');
21+
var filenameChunks = spritesheet.groups.concat('png');
2222
return path.join(opts.spritePath, filenameChunks.join('.'));
2323
}
2424
}

0 commit comments

Comments
 (0)