• R/O
  • SSH

fcf: 提交

FCF - Full Stack Javascript Framework

OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.

It is based on unique technologies that open up new opportunities in development approaches with NODEJS.


Commit MetaInfo

修订版6dc2f6ffe94807739a0c458141cd4071fb756947 (tree)
时间2022-08-01 06:43:02
作者Vladimir Markin <v.o.markin221@gmai...>
CommiterVladimir Markin

Log Message

added compatibility for node 10

更改概述

差异

diff -r 67c5b5e538af -r 6dc2f6ffe948 packages/fcfBackup/Tools/backup.js
--- a/packages/fcfBackup/Tools/backup.js Mon Aug 01 00:40:48 2022 +0300
+++ b/packages/fcfBackup/Tools/backup.js Mon Aug 01 00:43:02 2022 +0300
@@ -65,7 +65,10 @@
6565 });
6666 await addFSStruct("", tmpDir);
6767 } catch (e) {
68- await libUtil.promisify(libFS.rmdir)(tmpDir, { recursive: true, force: true });
68+ try {
69+ await libUtil.promisify(libFS.rmdir)(tmpDir, { recursive: true, force: true });
70+ } catch(err){
71+ }
6972 throw e;
7073 }
7174
@@ -91,7 +94,10 @@
9194 return a_id;
9295 })
9396 .finally(async ()=>{
94- await libUtil.promisify(libFS.rmdir)(tmpDir, { recursive: true, force: true });
97+ try {
98+ await libUtil.promisify(libFS.rmdir)(tmpDir, { recursive: true, force: true });
99+ } catch(err){
100+ }
95101 })
96102
97103 }
Show on old repository browser