diff --git a/src/clover/index.ts b/src/clover/index.ts index 94f724b..c193dc7 100644 --- a/src/clover/index.ts +++ b/src/clover/index.ts @@ -65,7 +65,7 @@ export const fromString = (str: string): Stats => { }, allFiles .map((f) => { - f._attributes.name = f._attributes.path || f._attributes.name + f._attributes.name = f._attributes.path || f._attributes.name; return f; }) .sort((a, b) => (a._attributes.name < b._attributes.name ? -1 : 1))