@electerm/electerm-react 1.38.6 → 1.38.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -469,7 +469,7 @@ class Term extends Component {
469
469
  let pth = window.pre.resolve(
470
470
  this.zmodemSavePath, name
471
471
  )
472
- const exist = await fs.exists(pth)
472
+ const exist = await fs.exists(pth).catch(() => false)
473
473
  if (exist) {
474
474
  pth = pth + '.' + generate()
475
475
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "1.38.6",
3
+ "version": "1.38.8",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",