Skip to content

Commit 211ba99

Browse files
author
Sean Wheeler
committed
fix typo
1 parent 0a5282c commit 211ba99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/7/Microsoft.PowerShell.Core/About/about_Pipeline_Chain_Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ The `&&` operator executes the right-hand pipeline, if the left-hand pipeline
3030
succeeded. Conversely, the `||` operator executes the right-hand pipeline if
3131
the left-hand pipeline failed.
3232

33-
These operators use the `$?` and `$LASTEXITCODE` variable to determine if a
33+
These operators use the `$?` and `$LASTEXITCODE` variables to determine if a
3434
pipeline failed. This allows you to use them with native command and not just
35-
with cmdlets or functions. This can be use for conditional execution of
36-
software deployments. For example:
35+
with cmdlets or functions. For example, this could be used for conditional
36+
execution of a software deployment:
3737

3838
```powershell
3939
npm run build && npm run deploy

0 commit comments

Comments
 (0)