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

Move commands to constants and clean up circular imports #116

Merged
merged 5 commits into from
Feb 8, 2024

Conversation

InTheCloudDan
Copy link
Contributor

  • Move all existing command strings to commands.ts
  • Move some existing strings used in multiple places to constants.ts
  • Create interfaces for existing classes to clean up circular import references. There's still a few left but this PR is large enough as is.
  • Remove some more commented out code.

This PR when merged should fail the deploy step. We are not incrementing the version here, just making future building easier.

Daniel OBrien added 3 commits February 8, 2024 07:27
move commands to consts
cleanup more unused code
@InTheCloudDan InTheCloudDan requested a review from ldhenry February 8, 2024 14:09
Copy link
Contributor

@ldhenry ldhenry left a comment

Choose a reason for hiding this comment

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

Seems like a solid refactor to me.

src/commands/configureLaunchDarklyEnvironment.ts Outdated Show resolved Hide resolved
src/models.ts Show resolved Hide resolved
@InTheCloudDan InTheCloudDan merged commit ff565d0 into main Feb 8, 2024
2 checks passed
@InTheCloudDan InTheCloudDan deleted the dob/Consts branch February 8, 2024 14:34
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.

3 participants