Skip to content

Commit 0204046

Browse files
authored
take the space out of the condition
1 parent d497443 commit 0204046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pipelines/process/conditions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ parameters:
247247
248248
steps:
249249
- script: echo I did a thing
250-
condition: and (succeeded(), ${{ eq(parameters.doThing, true) }})
250+
condition: and(succeeded(), ${{ eq(parameters.doThing, true) }})
251251
```
252252

253253
The `condition` in the preceding pipeline combines two functions: `succeeded()` and `eq('${{ parameters.doThing }}', true)`. The `succeeded()` function checks if the previous step succeeded. The `succeeded()` function returns `true` because there was no previous step.

0 commit comments

Comments
 (0)