Skip to content

Commit

Permalink
Merge pull request #158 from wonknu/bug_156
Browse files Browse the repository at this point in the history
fix: use compareDate instead of compareSize fixes #156
  • Loading branch information
gregorybesson committed Mar 3, 2017
2 parents b24e712 + eeafe5a commit 0ba90e6
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 0ba90e6

Please sign in to comment.