From 7f85199ef4169a08f3114f96f1d20512ead81283 Mon Sep 17 00:00:00 2001 From: BrianMuenzenmeyer Date: Mon, 18 May 2020 07:00:03 -0500 Subject: [PATCH] fix(shipit): correct variable name isBaseBranch --- packages/core/src/auto.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/auto.ts b/packages/core/src/auto.ts index 6cb9279a7..e2683212f 100644 --- a/packages/core/src/auto.ts +++ b/packages/core/src/auto.ts @@ -1394,7 +1394,7 @@ export default class Auto { // env-ci sets branch to target branch (ex: master) in some CI services. // so we should make sure we aren't in a PR just to be safe const currentBranch = getCurrentBranch(); - const isBaseBrach = !isPR && currentBranch === this.baseBranch; + const isBaseBranch = !isPR && currentBranch === this.baseBranch; const shouldGraduate = !options.onlyGraduateWithReleaseLabel || (options.onlyGraduateWithReleaseLabel && @@ -1411,7 +1411,7 @@ export default class Auto { this.logger.veryVerbose.info({ currentBranch, - isBaseBrach, + isBaseBranch, isPR, shouldGraduate, isPrereleaseBranch, @@ -1421,7 +1421,7 @@ export default class Auto { let releaseType: ShipitRelease = "canary"; - if (isBaseBrach && shouldGraduate) { + if (isBaseBranch && shouldGraduate) { releaseType = "latest"; } else if (this.inOldVersionBranch()) { releaseType = "old";