Skip to content

Commit

Permalink
prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
RDIL committed Apr 12, 2020
1 parent 5d18e72 commit 8553aaa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/docusaurus/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,8 @@ export async function deploy(
let websiteURL = '';
if (githubHost === 'github.com') {
websiteURL = projectName.includes('.github.io')
?
`https://${organizationName}.github.io/`;
:
`https://${organizationName}.github.io/${projectName}/`;
? `https://${organizationName}.github.io/`
: `https://${organizationName}.github.io/${projectName}/`;
} else {
// GitHub enterprise hosting.
websiteURL = `https://${githubHost}/pages/${organizationName}/${projectName}/`;
Expand Down

0 comments on commit 8553aaa

Please sign in to comment.