Skip to content

Commit

Permalink
Need to fail when sourcefile validation fails. (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Heath <bheath@adobe.com>
  • Loading branch information
baheath and bheath-adobe authored Nov 19, 2020
1 parent 52981ca commit 5771cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/output_yaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void output_yaml(json j,
// Process sourcefile
yaml_sourcefile_emitter sourcefile_emitter(src_root, dst_root, mode, options);
auto sourcefile_emitted = hyde::json::object();
sourcefile_emitter.emit(j, sourcefile_emitted);
failure |= sourcefile_emitter.emit(j, sourcefile_emitted);

// Process classes
yaml_class_emitter class_emitter(src_root, dst_root, mode, options);
Expand Down

0 comments on commit 5771cbf

Please # to comment.