Skip to content

Refactor: Move sleep function to shared module and import it#1700

Merged
shati-patel merged 1 commit intomainfrom
shati-patel/better-sleep
Nov 2, 2022
Merged

Refactor: Move sleep function to shared module and import it#1700
shati-patel merged 1 commit intomainfrom
shati-patel/better-sleep

Conversation

@shati-patel
Copy link
Copy Markdown
Contributor

We define a sleep function in about 3 different places. This PR adds the sleep function to the shared "time" module, so we can re-use the function instead of redefining it.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@shati-patel shati-patel marked this pull request as ready for review November 2, 2022 11:45
@shati-patel shati-patel requested review from a team as code owners November 2, 2022 11:45
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

Thanks for tidying that up!

@shati-patel shati-patel enabled auto-merge (squash) November 2, 2022 11:54
@shati-patel shati-patel merged commit 4064da6 into main Nov 2, 2022
@shati-patel shati-patel deleted the shati-patel/better-sleep branch November 2, 2022 12:01
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