Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an ordered hash table for generateInfo. #18611

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/Gen2Master/MoveFromGeneration2Master.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Function Move-Generation2Master {
#EndRegion

#Region generate-info.json Here have a issue that user may not use latest version to generate the code.
$generateInfo = @{}
$generateInfo = [ordered]@{}
$repo = "https://github.com/Azure/azure-rest-api-specs"
$commit = git ls-remote $repo HEAD
$generateInfo.Add("swagger_commit", $commit.Substring(0, 40))
Expand Down Expand Up @@ -408,4 +408,4 @@ Function Copy-Template {

}
}
}
}