refactor: Add setOption(key) method
Some checks are pending
bld-ci / build-bld-project (17) (push) Waiting to run
bld-ci / build-bld-project (21) (push) Waiting to run
bld-ci / build-bld-project (23) (push) Waiting to run

This commit is contained in:
Erik C. Thauvin 2025-01-23 12:37:02 -08:00
parent 6fea3d5fc6
commit 8d74b48e8d
Signed by: erik
GPG key ID: 776702A6A2DA330E
8 changed files with 26 additions and 22 deletions

View file

@ -30,7 +30,7 @@ public class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJRel
* @return this operation instance
*/
public S dryRun() {
setOption("--dry-run", EMPTY);
setOption("--dry-run");
return self();
}
@ -40,7 +40,7 @@ public class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJRel
* @return this operation instance
*/
public S selectCurrentPlatform() {
setOption("--select-current-platform", EMPTY);
setOption("--select-current-platform");
return self();
}