Skip to content

Commit 8d72e59

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into master
2 parents 4b8c287 + 57d362d commit 8d72e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/export-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function funcNameFromRelPathDefault(relPath: string): string {
1616
const funcName = relDirPathFunctionNameChunk
1717
? `${relDirPathFunctionNameChunk}${sep}${fileNameFunctionNameChunk}`
1818
: fileNameFunctionNameChunk;
19-
return funcName.replace(sep, '-');
19+
return funcName.split(sep).join('-');
2020
}
2121

2222
/**

0 commit comments

Comments
 (0)