ast-types
Advanced tools
Comparing version 0.2.22 to 0.2.23
@@ -307,9 +307,3 @@ var assert = require("assert"); | ||
var child = field.getValue(value); | ||
var result = type.check(child, deep); | ||
if (result) { | ||
// If the default function returned something suitable, go | ||
// ahead and fill it in to promote general good hygiene. | ||
value[name] = child; | ||
} | ||
return result; | ||
return type.check(child, deep); | ||
} | ||
@@ -316,0 +310,0 @@ |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.2.22", | ||
"version": "0.2.23", | ||
"homepage": "http://github.com/benjamn/ast-types", | ||
@@ -24,0 +24,0 @@ "repository": { |
392628
11020