Skip to content

Commit f9b87a0

Browse files
committed
bug in validator code for component.json
1 parent d688e5d commit f9b87a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Builder.prototype.json = function(fn){
348348

349349
var path = this.path('component.json');
350350
var conf = cache[path];
351-
if (conf) return validate(this.conf);
351+
if (conf) return validate(conf);
352352

353353
debug('reading %s', path);
354354
fs.readFile(path, 'utf8', function(err, str){

0 commit comments

Comments
 (0)