Skip to content

Commit b4c064f

Browse files
authored
Fix minor issue (#24673)
* Fix minor issue * Change default to selected
1 parent f07f1a3 commit b4c064f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.azure-pipelines/refresh-autorest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ parameters:
77
- name: scope
88
displayName: Select target Autorest modules
99
type: string
10-
default: autorest-all
10+
default: autorest-selected
1111
values:
12-
- autorest-all
12+
- autorest-selected
1313
- autorest-v3-only
1414
- autorest-v4-only
15-
- autorest-selected
15+
- autorest-all
1616

1717
- name: selectedServices
1818
displayName: Input service names you want to refresh separated by semi-colon (;). Wildcard match is supported.
@@ -55,7 +55,7 @@ jobs:
5555
script: |
5656
$autorestPaths = @()
5757
$autorestModules = Get-ChildItem -Filter "*.Autorest" -Directory -Recurse | Select-Object -ExpandProperty FullName
58-
if ("${{ parameters.scope }}" -eq "autorest-v3-v4") {
58+
if ("${{ parameters.scope }}" -eq "autorest-all") {
5959
$autorestPaths = $autorestModules
6060
}
6161
elseif ("${{ parameters.scope }}" -eq "autorest-selected") {

0 commit comments

Comments
 (0)