mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update gitWorker.ts
This commit is contained in:
parent
bedd59175c
commit
a627dfb24c
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import { WikiChannel } from '@/constants/channels';
|
|||
function initWikiGit(wikiFolderPath: string, syncImmediately?: boolean, remoteUrl?: string, userInfo?: IGitUserInfos): Observable<IGitLogMessage> {
|
||||
return new Observable<IGitLogMessage>((observer) => {
|
||||
let task: Promise<void>;
|
||||
if (syncImmediately) {
|
||||
if (syncImmediately === true) {
|
||||
if (remoteUrl === undefined) {
|
||||
throw new SyncParameterMissingError('remoteUrl');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue