Skip to content

Commit

Permalink
fix: title case bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Apr 10, 2022
1 parent 3a160f0 commit a34dcec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Example/express
# Example/express
2 changes: 1 addition & 1 deletion example/express/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Example/express
# Example/express

This is a test using express.
2 changes: 1 addition & 1 deletion example/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Example/fastify
# Example/fastify
2 changes: 1 addition & 1 deletion example/fastify/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Example/fastify
# Example/fastify

This is a test using fastify.
2 changes: 1 addition & 1 deletion lib/src/utils/titleCase.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module.exports = projectName => {
if (index !== array.length - 1) title += ' '
})

return title
return title.trim()
}

0 comments on commit a34dcec

Please sign in to comment.