Skip to content

Commit b305854

Browse files
committed
Removed optional chaining from parsing issue
1 parent 3130076 commit b305854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/batch/src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const parseWithErrorHandling = async (
9999
}
100100
const issues = result.error.cause as ReadonlyArray<StandardSchemaV1.Issue>;
101101
const errorMessage = issues
102-
.map((issue) => `${issue?.path?.join('.')}: ${issue.message}`)
102+
.map((issue) => `${issue.path?.join('.')}: ${issue.message}`)
103103
.join('; ');
104104
logger.debug(errorMessage);
105105
throw new ParsingError(errorMessage);

0 commit comments

Comments
 (0)