🐛 Fix: fix configure files sync bug

This commit is contained in:
萌萌哒赫萝
2023-05-05 17:57:41 +08:00
parent e8d54fac4c
commit a1981ab59d
4 changed files with 5 additions and 5 deletions

View File

@@ -60,8 +60,8 @@ function getSyncConfig () {
}
function syncConfigValidator (syncConfig: SyncConfig) {
const { type, file, username, repo, branch, token } = syncConfig
return type && file && username && repo && branch && token
const { type, username, repo, branch, token } = syncConfig
return type && username && repo && branch && token
}
async function getModifiedTime (syncConfig: SyncConfig, filePath: string) {