Skip to content

Commit 981e26f

Browse files
Harrison IfeanyichukwuHarrison Ifeanyichukwu
authored andcommitted
test: fix test
1 parent ebf3800 commit 981e26f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ export default class Handler<F extends string = string, Exports = Data<F>> {
546546
}
547547

548548
// title
549-
if (filters.titleize || type == 'title' || 'name') {
549+
if (filters.titleize || type == 'title' || type === 'name') {
550550
result = titleize(result);
551551
}
552552
//capitalize

0 commit comments

Comments
 (0)