Skip to content

Commit

Permalink
chore: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Jan 30, 2024
1 parent a94c9d5 commit 025cc47
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1850,11 +1850,13 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. Let the |set of event names| be empty [=set=].

1. For each |event| of <code>command parameters</code>["events"], append |event| to |set of event names|.
1. For each |event| of <code>command parameters</code>["events"]:

1. Append |event| to |set of event names|.

1. Let |set of contexts| be null.

1. If the value of the <code>contexts</code> field of |command parameters| is not null.
1. If the value of the <code>contexts</code> field of |command parameters| is not null:

1. Set |set of contexts| to empty [=set=].

Expand Down Expand Up @@ -1928,14 +1930,16 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. Let |set of contexts| be null.

1. If the value of the <code>contexts</code> field of |command parameters| is not null.
1. If the value of the <code>contexts</code> field of |command parameters| is not null:

1. Set |set of contexts| to empty [=set=].

1. For each |event| of <code>command parameters</code>["contexts"], append |event| to |set of contexts|.
1. For each |event| of <code>command parameters</code>["contexts"]:

1. Append |event| to |set of contexts|.

1. [=Try=] to [=update the event map=] with |session|,
|set of event names|, |list of contexts| and enabled false.
|set of event names|, |set of contexts| and enabled false.

1. Return [=success=] with data null.

Expand Down

0 comments on commit 025cc47

Please sign in to comment.