Skip to content

Commit 7237a41

Browse files
Update src/content/docs/workflows/build/rules-of-workflows.mdx
Co-authored-by: ToriLindsay <[email protected]>
1 parent fb528b9 commit 7237a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/rules-of-workflows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
297297

298298
export class MyWorkflow extends WorkflowEntrypoint {
299299
async run(event: WorkflowEvent<Params>, step: WorkflowStep) {
300-
// 🔴 Bad: The `Promise.race` is not surround by a `step.do` which may cause undeterministic caching behavior.
300+
// 🔴 Bad: The `Promise.race` is not surrounded by a `step.do`, which may cause undeterministic caching behavior.
301301
const race_return = await Promise.race(
302302
[
303303
step.do(

0 commit comments

Comments
 (0)