Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed Sep 19, 2018
1 parent 6cf81ce commit b3c8cdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ internals.append = function (definitionName, definition, currentCollection, forc
internals.formatProperty = function (obj) {

// add $ref directly to parent and delete schema
// if (obj.schema) {
// obj.$ref = obj.schema.$ref;
// delete obj.schema;
// }
// if (obj.schema) {
// obj.$ref = obj.schema.$ref;
// delete obj.schema;
// }

// remove emtpy properties
obj = Utilities.deleteEmptyProperties(obj);
Expand Down

0 comments on commit b3c8cdd

Please sign in to comment.