Skip to content

Commit

Permalink
chore: clean up logs remove unnecessary override
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Oct 21, 2024
1 parent 6c7e368 commit d999a05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion apps/website/content/prs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export async function getPrs() {
},
})
} catch (e) {
console.log(e)
// Occasionally there is an edge-case error such as:
// "Could not parse expression with acorn: Unexpected token"
// Simply procceed with source=null in these cases.
// We can revisit this next when we do the next website refactor.
// Updating all the mdx packages might even do the trick.
}
return {
source,
Expand Down
3 changes: 1 addition & 2 deletions libs/request/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ export function buildRequestHandler<
...mergedArgs.params,
}

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const paramRoute = parameterizeRoute(route, params as RequestParams)!
const paramRoute = parameterizeRoute(route, params as RequestParams)

const data = 'data' in mergedArgs ? mergedArgs.data : undefined

Expand Down

0 comments on commit d999a05

Please sign in to comment.