Skip to content

Commit 7c80ba8

Browse files
committed
chore: default sep to empty string
1 parent 93b535f commit 7c80ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/propTypesSort.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function fixPropTypesSort(
185185
);
186186

187187
const sourceCodeText = getText(context);
188-
let separator = null;
188+
let separator = '';
189189
source = nodes.reduceRight((acc, attr, index) => {
190190
const sortedAttr = sortedAttributes[index];
191191
const commentNode = commentnodeMap.get(sortedAttr);

0 commit comments

Comments
 (0)