Update index.ts

This commit is contained in:
林一二 2021-12-19 23:07:27 +08:00
parent 5fdd72de70
commit 9cfd319b75

View file

@ -32,7 +32,7 @@ export class WikiGitWorkspace implements IWikiGitWorkspaceService {
const isSyncedWiki = storageService !== SupportedStorageServices.local;
try {
if (await hasGit(wikiFolderLocation)) {
logger.warn('Skip git init because it already has a git setup.');
logger.warn('Skip git init because it already has a git setup.', { wikiFolderLocation });
} else {
if (isSyncedWiki) {
if (typeof gitUrl === 'string' && userInfo !== undefined) {