From 563d9ad3522840b064c813c04434d600fb3e0a74 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Sun, 25 Jul 2021 21:30:58 -0400 Subject: [PATCH] Reference main instead of master from specs repo See https://github.com/Azure/azure-rest-api-specs/issues/15102 for context. --- generator/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/constants.ts b/generator/constants.ts index d5ca546772..cd7d9feedf 100644 --- a/generator/constants.ts +++ b/generator/constants.ts @@ -5,7 +5,7 @@ export const generatorRoot = path.resolve(__dirname, '../'); export const specsRepoPath = path.join(os.tmpdir(), 'schm_azspc'); export const specsRepoUri = 'https://github.com/azure/azure-rest-api-specs'; -export const specsRepoCommitHash = 'origin/master'; +export const specsRepoCommitHash = 'origin/main'; export const pathRegex = /(microsoft\.\w+)[\\\/]\S*[\\\/](\d{4}-\d{2}-\d{2}(|-preview))[\\\/]/i; export const autoRestVerboseOutput = false; @@ -53,4 +53,4 @@ export const blocklist = [ 'azsadmin/resource-manager/user-subscriptions', /* Microsoft.CustomerInsights is deprecated */ 'customer-insights/resource-manager', -]; \ No newline at end of file +];