From 5139ae3a846d817d14f9a14846aeec1be8260f92 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 8 Jun 2018 21:53:59 -0700 Subject: [PATCH] tests: only check out mastodon master branch (#377) --- bin/run-mastodon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-mastodon.js b/bin/run-mastodon.js index 5daada9..ff8c8a9 100644 --- a/bin/run-mastodon.js +++ b/bin/run-mastodon.js @@ -42,7 +42,7 @@ async function cloneMastodon () { await stat(mastodonDir) } catch (e) { console.log('Cloning mastodon...') - await exec(`git clone ${GIT_URL} "${mastodonDir}"`) + await exec(`git clone --single-branch --branch master ${GIT_URL} "${mastodonDir}"`) await exec(`git checkout ${GIT_TAG}`, { cwd: mastodonDir }) await writeFile(path.join(dir, '../mastodon/.env'), envFile, 'utf8') }