Skip to content

Fix/use ConfirmableTrait in winter env and add support for --force#1368

Merged
LukeTowers merged 2 commits into
wintercms:developfrom
IsaiahPaget:fix/use-confirmable-trait-in-winter-env
Jun 13, 2025
Merged

Fix/use ConfirmableTrait in winter env and add support for --force#1368
LukeTowers merged 2 commits into
wintercms:developfrom
IsaiahPaget:fix/use-confirmable-trait-in-winter-env

Conversation

@IsaiahPaget
Copy link
Copy Markdown
Contributor

In order to align with the other winter console commands, I figured I would make use of the ConfirmableTrait.

I also noticed that the method I removed in favour of the ConfirmableTrait version had some code about the force option, but this force option didn't actually work, so I added force to the signature.

This change makes the code more consistent, and by using the ConfirmableTrait from Laravel, it just marginally reduces the amount of code the Winter team needs to maintain.

@LukeTowers LukeTowers added the maintenance PRs that fix bugs, are translation changes or make only minor changes label Jun 13, 2025
@LukeTowers LukeTowers added this to the 1.2.8 milestone Jun 13, 2025
@LukeTowers LukeTowers merged commit 57594e6 into wintercms:develop Jun 13, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PRs that fix bugs, are translation changes or make only minor changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants