mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-25 17:22:50 +00:00
chore(v2): Replace Boolean with boolean (#1518)
This commit is contained in:
parent
d52e6d3c3f
commit
5217af67b8
|
|
@ -13,7 +13,7 @@ import path from 'path';
|
|||
import _ from 'lodash';
|
||||
import {execSync} from 'child_process';
|
||||
|
||||
function hasYarn(): Boolean {
|
||||
function hasYarn(): boolean {
|
||||
try {
|
||||
execSync('yarnpkg --version', {stdio: 'ignore'});
|
||||
return true;
|
||||
|
|
@ -22,7 +22,7 @@ function hasYarn(): Boolean {
|
|||
}
|
||||
}
|
||||
|
||||
function isValidGitRepoUrl(gitRepoUrl): Boolean {
|
||||
function isValidGitRepoUrl(gitRepoUrl): boolean {
|
||||
return gitRepoUrl.startsWith('https://') || gitRepoUrl.startsWith('git@');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue