Skip to content

Commit

Permalink
style: standard --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda authored and Meena Hoda committed Jan 27, 2020
1 parent b09f947 commit 2dd9e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/apply-meta-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ module.exports = function applyMetaAttributes (target, hint, dataItemDefaults) {
}
)
if (hint.hasOwnProperty('example') && !hint.hasOwnProperty('examples')) {
target['examples'] = [hint.example]
target.examples = [hint.example]
}
}
2 changes: 1 addition & 1 deletion lib/utils/make-base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const applyMetaAttributes = require('./apply-meta-attributes')

module.exports = function makeBaseObject (hint, typeDefaults) {
let base = {
const base = {
typeHint: hint.typeHint
}
applyMetaAttributes(base, hint, typeDefaults)
Expand Down

0 comments on commit 2dd9e96

Please sign in to comment.