Updates
This commit is contained in:
parent
0ba0e902f8
commit
c95f8aecde
@ -20,7 +20,7 @@ const SERVER_DATA_DIR = `/root/.coderank`;
|
|||||||
const BACKUP_DATA_DIR = path.join(BACKUP_DIR_BACKUP, ".coderank");
|
const BACKUP_DATA_DIR = path.join(BACKUP_DIR_BACKUP, ".coderank");
|
||||||
|
|
||||||
const execOpts: ExecSyncOptions = {
|
const execOpts: ExecSyncOptions = {
|
||||||
stdio: ["inherit", "inherit", "ignore"],
|
stdio: ["ignore", "ignore", "ignore"],
|
||||||
};
|
};
|
||||||
|
|
||||||
execSync(`rm -rf ${path.join(BACKUP_DIR, BACKUP_FILE_NAME)}`, execOpts);
|
execSync(`rm -rf ${path.join(BACKUP_DIR, BACKUP_FILE_NAME)}`, execOpts);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user