Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit d15b556

Browse files
committed
Removed module.exports from method name.
1 parent cbdfdad commit d15b556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const dox = require('dox');
22

33
const formatStringForName = content =>
44
content.toString()
5-
.replace(/\.prototype|\(\)/g, '');
5+
.replace(/module\.exports\.|\.prototype|\(\)/g, '');
66

77
const formatStringForParam = content =>
88
content.toString()

0 commit comments

Comments
 (0)