Skip to content

Commit f11545f

Browse files
authored
Merge pull request #973 from launchableinc/relax-validation
subset: relax validation rule
2 parents 4cf5d63 + 61e5f39 commit f11545f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

launchable/commands/subset.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -218,20 +218,6 @@ def subset(
218218
app = context.obj
219219
tracking_client = TrackingClient(Tracking.Command.SUBSET, app=app)
220220

221-
if is_observation and is_get_tests_from_previous_sessions:
222-
msg = "Cannot use --observation and --get-tests-from-previous-sessions options at the same time"
223-
click.echo(
224-
click.style(
225-
msg,
226-
fg="red"),
227-
err=True,
228-
)
229-
tracking_client.send_error_event(
230-
event_name=Tracking.ErrorEvent.INTERNAL_CLI_ERROR,
231-
stack_trace=msg,
232-
)
233-
sys.exit(1)
234-
235221
if is_observation and is_output_exclusion_rules:
236222
msg = (
237223
"WARNING: --observation and --output-exclusion-rules are set. "

0 commit comments

Comments
 (0)