Skip to content

Commit

Permalink
Merge pull request MicrosoftDocs#124901 from jtracey93/patch-1
Browse files Browse the repository at this point in the history
fix issues in example
Jak-MS authored Nov 20, 2024
2 parents f2399fa + 5876224 commit a91994b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ The following example fails the design time validation:
```bicep
param inputString string
output outString string = first(skip(split(input, '/'), 1))
output outString string = first(skip(split(inputString, '/'), 1))
```

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

## Next steps

0 comments on commit a91994b

Please sign in to comment.