Skip to content

Better Safe-Mode Commands - #60

Merged
CoolSpy3 merged 2 commits into
masterfrom
safe-mode-2
Jul 21, 2023
Merged

Better Safe-Mode Commands#60
CoolSpy3 merged 2 commits into
masterfrom
safe-mode-2

Conversation

@CoolSpy3

@CoolSpy3 CoolSpy3 commented Jul 10, 2023

Copy link
Copy Markdown
Member

This PR makes a number of improvements to safe-mode commands:

  • end() will no longer be called on safe commands which are immediately terminated.
  • end(true) will be called if a command is stopped due to a safe-mode change.
  • Made safe commands extend WrapperCommand. This means their name changes to that of the underlying command, and the code is more readable.

@CoolSpy3 CoolSpy3 added enhancement New feature or request Non-Breaking Change This PR will introduce new backwards-compatible functionality labels Jul 10, 2023
@CoolSpy3
CoolSpy3 requested a review from FriedLongJohns July 10, 2023 02:26

@FriedLongJohns FriedLongJohns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like the documentation bits have been updated as well, muy bien.

@CoolSpy3
CoolSpy3 merged commit 8097741 into master Jul 21, 2023
@CoolSpy3
CoolSpy3 deleted the safe-mode-2 branch July 21, 2023 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Non-Breaking Change This PR will introduce new backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants