@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
|
}
|