Skip to content

Commit

Permalink
fix: Tweak of Regex to format safe version of type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Needham committed Jan 20, 2019
1 parent 2868c5b commit af1d5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/get-simple-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function getSimpleManifest () {
// console.log(rawElementDefinition)
const elementDefinition = _.cloneDeep(rawElementDefinition)
elementDefinition.type = elementType
elementDefinition.typeSafe = _.kebabCase(elementType.type.replace(/./g, '-'))
elementDefinition.typeSafe = _.kebabCase(elementType.replace(/\./g, '-'))
elementDefinition.example = 'FIXME!'
if (elementDefinition.hasOwnProperty('properties')) {
elementDefinition.propertySummary = calculatePropertySummary(elementType, propertyInfo, rawElementDefinition)
Expand Down

0 comments on commit af1d5fe

Please sign in to comment.