core icon indicating copy to clipboard operation
core copied to clipboard

[BUG] 'file:///home/.sumi/extension-storage/global-state.json' already exists.

Open zmyiy opened this issue 1 year ago • 4 comments

描述你的问题(Describe the bug) 日志出现以下错误:storage 文件 global-state.json 已经存在。 image 看源码在做 writeFile 时都已经传递了 overwrite 为true了,还有其他地方调用没有传递 otpions.overwrite 为true 的场景吗? image

复现路径(To Reproduce) 复现路径不明,监控日志发现

预期表现(Expected behavior)

环境信息(Environment)

  • OS: [e.g. macOS 11.2 Apple M1/Windows10/Windows11]
  • Browser: [e.g. chrome, safari, electron]
  • OpenSumi Version: [e.g. 2.13.0]

zmyiy avatar Aug 09 '23 12:08 zmyiy