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.
修订版 | b7f17bb71587996dd0ab128ddca238137b7055af (tree) |
---|---|
时间 | 2022-08-01 06:46:39 |
作者 | ![]() |
Commiter | Vladimir Markin |
fcfBackup: fix creating backup directory
@@ -31,6 +31,8 @@ | ||
31 | 31 | let backupDirectory = fcf.getPath(fcf.application.getSystemVariable("fcfBackup:config").directory); |
32 | 32 | let zip = new libYazl.ZipFile(); |
33 | 33 | |
34 | + await fs.prepareDirectory(backupDirectory); | |
35 | + | |
34 | 36 | async function addFSStruct(a_path, a_dir){ |
35 | 37 | let files = await libUtil.promisify(libFS.readdir)(fcf.getPath(libPath.join(a_dir, a_path))); |
36 | 38 | for(let i = 0; i < files.length; ++i) { |