Skip to content

Commit 82ad68a

Browse files
authored
fix(docs): Correct default rollForward policy in global.json documentation (#44996)
1 parent 52d4567 commit 82ad68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/tools/global-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The following rules apply when determining which version of the SDK to use:
216216
- If a *global.json* file is found that doesn't specify an SDK version but it specifies an `allowPrerelease` value, the highest installed SDK version is used (equivalent to setting `rollForward` to `latestMajor`). Whether the latest SDK version can be release or prerelease depends on the value of `allowPrerelease`. `true` indicates prerelease versions are considered; `false` indicates that only release versions are considered.
217217
- If a *global.json* file is found and it specifies an SDK version:
218218

219-
- If no `rollForward` value is set, it uses `latestPatch` as the default `rollForward` policy. Otherwise, check each value and their behavior in the [rollForward](#rollforward) section.
219+
- If no `rollForward` value is set, it uses `patch` as the default `rollForward` policy. Otherwise, check each value and their behavior in the [rollForward](#rollforward) section.
220220
- Whether prerelease versions are considered and what's the default behavior when `allowPrerelease` isn't set is described in the [allowPrerelease](#allowprerelease) section.
221221

222222
## Troubleshoot build warnings

0 commit comments

Comments
 (0)