Skip to content

Commit be5a425

Browse files
authored
Merge pull request #290837 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 165f6be + 938573e commit be5a425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-resource-manager/bicep/operator-null-forgiving.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following example fails the design time validation:
2020
```bicep
2121
param inputString string
2222
23-
output outString string = first(skip(split(input, '/'), 1))
23+
output outString string = first(skip(split(inputString, '/'), 1))
2424
```
2525

2626
The warning message is:
@@ -34,7 +34,7 @@ To solve the problem, use the null-forgiving operator:
3434
```bicep
3535
param inputString string
3636
37-
output outString string = first(skip(split(input, '/'), 1))!
37+
output outString string = first(skip(split(inputString, '/'), 1))!
3838
```
3939

4040
## Next steps

0 commit comments

Comments
 (0)