Skip to content

Commit

Permalink
Temporary comment isFileValid
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta committed Jun 25, 2013
1 parent 2d96257 commit 1d2012d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .bem/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ MAKE.decl('PagesGeneratorNode', 'Node', {
srcPath = PATH.join(level.getPathByObj(item, suffix)),
outPath = PATH.join(bundlesLevel.getPathByObj(page, 'bemjson.js'));

return BEM.util.isFileValid(outPath, srcPath)
.then(function(valid) {
// return BEM.util.isFileValid(outPath, srcPath)
// .then(function(valid) {

if (valid && !ctx.force) return;
// if (valid && !ctx.force) return;

return BEM.util.readFile(srcPath)
.then(function(src) {
Expand All @@ -222,7 +222,7 @@ MAKE.decl('PagesGeneratorNode', 'Node', {

});

});
// });

}, _this));

Expand Down

0 comments on commit 1d2012d

Please sign in to comment.