Skip to content

Commit

Permalink
Fix quick setup clone not using target branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Dec 27, 2023
1 parent 38158e6 commit 0d6b7f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/views/Instance/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ class InstanceCreate extends React.Component<IProps, IState> {
// look, we really should be prompting for reference and enable submodules but I hate webdev and can't be assed rn k? -Dominion
const cloneResult = await RepositoryClient.cloneRepository(instanceId, {
origin: `https://github.com/${this.state.repoOwner}/${this.state.repoName}`,
updateSubmodules: true
updateSubmodules: true,
reference: branch
});

if (cloneResult.code === StatusCode.ERROR) {
Expand Down

0 comments on commit 0d6b7f4

Please sign in to comment.