chore(v2): Replace Boolean with boolean (#1518)

This commit is contained in:
Sam Zhou 2019-05-25 18:57:23 -07:00 committed by Endi
parent d52e6d3c3f
commit 5217af67b8

View File

@ -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@');
}