Skip to content

Commit

Permalink
fix: use compareDate instead of compareSize fixes #156
Browse files Browse the repository at this point in the history
  • Loading branch information
wonknu committed Mar 3, 2017
1 parent 2349e0a commit eeafe5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cms/templates/assets.js
Expand Up @@ -23,7 +23,7 @@ export function copy() {
}

Array.prototype.forEach.call(publicFolders, (publicFolder) => {
var res = dircompare.compareSync(publicFolder, dest, {compareSize: true})
var res = dircompare.compareSync(publicFolder, dest, {compareDate: true})

res.diffSet.forEach(function (entry) {
var state = {
Expand Down

0 comments on commit eeafe5a

Please sign in to comment.