From 5ba4330a55bd75571f42578f24cae08c0fe5ac60 Mon Sep 17 00:00:00 2001 From: Patrick Coffey Date: Thu, 23 Dec 2021 14:18:01 -0600 Subject: [PATCH] feat: update default checkout for emulsify-drupal starter --- src/handlers/init.test.ts | 2 +- src/util/getAvailableStarters.test.ts | 2 +- src/util/getAvailableStarters.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handlers/init.test.ts b/src/handlers/init.test.ts index f658a7c..d787141 100644 --- a/src/handlers/init.test.ts +++ b/src/handlers/init.test.ts @@ -47,7 +47,7 @@ describe('init', () => { ).toHaveBeenCalledWith( 'https://github.com/emulsify-ds/emulsify-drupal.git', '/home/uname/Projects/cornflake/themes/cornflake', - { '--branch': 'cli' } + { '--branch': 'master' } ); expect( rmdirMock diff --git a/src/util/getAvailableStarters.test.ts b/src/util/getAvailableStarters.test.ts index 36510cc..76bcf22 100644 --- a/src/util/getAvailableStarters.test.ts +++ b/src/util/getAvailableStarters.test.ts @@ -6,7 +6,7 @@ describe('getAvailableStarters', () => { expect(getAvailableStarters()).toMatchInlineSnapshot(` Array [ Object { - "checkout": "cli", + "checkout": "master", "platform": "drupal", "platformMajorVersion": 9, "repository": "https://github.com/emulsify-ds/emulsify-drupal.git", diff --git a/src/util/getAvailableStarters.ts b/src/util/getAvailableStarters.ts index 6fc891a..b0bd207 100644 --- a/src/util/getAvailableStarters.ts +++ b/src/util/getAvailableStarters.ts @@ -11,7 +11,7 @@ export default function getAvailableStarters(): EmulsifyStarter[] { platform: 'drupal', platformMajorVersion: 9, repository: 'https://github.com/emulsify-ds/emulsify-drupal.git', - checkout: 'cli', + checkout: 'master', }, ]; }