From 0b63d7bc0b23412233201fc55747609ec4d024f5 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Mon, 8 Feb 2021 16:30:47 +0100 Subject: [PATCH] cd to clonePath after cloning --- packages/env/lib/download-sources.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/env/lib/download-sources.js b/packages/env/lib/download-sources.js index 317e08e8ec6407..3ca415995b8fc7 100644 --- a/packages/env/lib/download-sources.js +++ b/packages/env/lib/download-sources.js @@ -119,6 +119,7 @@ async function downloadGitSource( source, { onProgress, spinner, debug } ) { '--depth': '1', '--no-single-branch': null, } ); + await git.cwd( source.clonePath ); } log( 'Fetching the specified ref.' );