Skip to content

Commit

Permalink
Update webdav.storage.ts
Browse files Browse the repository at this point in the history
back to 93 1.12.1 version
  • Loading branch information
OshinoLin authored Oct 21, 2024
1 parent 69ac8ec commit 92e1b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/webdav.storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export class WebdavStorage implements IStorage {
await this.client.putFileContents(join(this.basePath, '.check'), Buffer.from(Date.now().toString()))
return true
} catch (e) {
logger.error(e, '存储检查异常')
return false
logger.error(e, '存储检查异常')
return false
} finally {
try {
await this.client.deleteFile(join(this.basePath, '.check'))
Expand Down

0 comments on commit 92e1b81

Please sign in to comment.