Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup: Remove unused exports in github-auth.server.ts and session.server.ts #413

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

MoSattler
Copy link
Contributor

Changes

This pull request removes some exports that seem to be unused in the following files:

  1. app/utils/github-auth.server.ts
  2. app/utils/session.server.ts

Details

app/utils/github-auth.server.ts:

  • Removed complete file, as it doesn't appear to be utilized anywhere in the codebase.

app/utils/session.server.ts:

  • Removed exports for getSession, destroySession and commitSession.

I've done a search throughout the codebase and couldn't find references to the removed exports. However, I might have missed some usages.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops! Nice catch. Thank you!

@kentcdodds kentcdodds merged commit f537a2c into epicweb-dev:main Aug 30, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants