Skip to content

Commit

Permalink
(node): fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Aug 29, 2024
1 parent e10ff69 commit eca2bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/lib/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function log(
group: GroupingObject,
options: Options = {},
) {
if (req.method === 'OPTIONS') return;
if (req.method === 'OPTIONS') return undefined;
if (!readmeApiKey) throw new Error('You must provide your ReadMe API key');
if (!group) throw new Error('You must provide a group');
if (options.logger) {
Expand Down

0 comments on commit eca2bd0

Please sign in to comment.