mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 12:52:31 +02:00
chore(v2): fix prettier formatting (#3714)
This commit is contained in:
parent
8c9f9487d6
commit
9a1ba739ea
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ export default async function deploy(
|
||||||
const nonSshRemoteBranch: string = `https://${gitCredentials}@${githubHost}/${organizationName}/${projectName}.git`;
|
const nonSshRemoteBranch: string = `https://${gitCredentials}@${githubHost}/${organizationName}/${projectName}.git`;
|
||||||
|
|
||||||
const remoteBranch =
|
const remoteBranch =
|
||||||
useSSH && useSSH.toLowerCase() === 'true' ? sshRemoteBranch : nonSshRemoteBranch;
|
useSSH && useSSH.toLowerCase() === 'true'
|
||||||
|
? sshRemoteBranch
|
||||||
|
: nonSshRemoteBranch;
|
||||||
|
|
||||||
// Check if this is a cross-repo publish.
|
// Check if this is a cross-repo publish.
|
||||||
const currentRepoUrl = shell
|
const currentRepoUrl = shell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue