Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

refactor(sessions): Reduce code duplication on sessions #42

Merged
merged 4 commits into from
Aug 17, 2021

Conversation

rtkjbeverly
Copy link
Contributor

Reduce duplicate construction of filepaths & writing to sessions files

This reduces the amount of duplication with generating the filepath for the sessions file, and consolidating the writing of the session file into a single method.


This is a minor refactoring, but I think some of the code in this space could be refactored about to be less reliant on the Okta integration. As I investigate the stale okta token issue, I'll explore this some more.

@rtkjbeverly rtkjbeverly self-assigned this Aug 16, 2021
@rtkjbeverly rtkjbeverly merged commit be0ad19 into main Aug 17, 2021
@rtkjbeverly rtkjbeverly deleted the session-path-funcs branch August 17, 2021 14:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants