Skip to content

Commit 7095771

Browse files
committed
fix: remove name trimming on parsePersonLine
1 parent 82dbbb4 commit 7095771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/processors/push-action/parsePush.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const parsePersonLine = (line: string): PersonLine => {
121121
if (!match) {
122122
throw new Error(`Failed to parse person line: ${line}. Make sure to include a name, email, timestamp and timezone offset.`);
123123
}
124-
return { name: match[1].trim(), email: match[2], timestamp: match[3] };
124+
return { name: match[1], email: match[2], timestamp: match[3] };
125125
};
126126

127127
/**

0 commit comments

Comments
 (0)