Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
更新 runBackup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
heyhey123-git committed Apr 5, 2024
1 parent 5384ca9 commit 2001015
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions QuickBackup/lib/runBackup.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,12 @@ module.exports.Run = () => {
.then((value) => {
Promise.race([
new Promise((resolve, reject) => {
new Promise((resolve, reject) => {
archieve
.add(path.resolve(temp + "." + backupType), temp, {
t: backupType,
mx: "=" + compressionLevel,
mmt: "=" + threads,
})
.then((value) => {
resolve();
})
.catch((e) => {
reject(e);
});
})
.then((value) => {
writeLog(true, null);
logger.info(
Expand Down

0 comments on commit 2001015

Please sign in to comment.