Skip to content

Commit

Permalink
Change the message for a clearer process
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeiown committed Oct 4, 2024
1 parent cb4014d commit fd2512c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/configFilesRestoreHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const restoreConfigFiles = async () => {
}
}

const successMessage = `${getCurrentDateTime()},Restoration process completed successfully${os.EOL}`;
const successMessage = `${getCurrentDateTime()},The update process is successfully completed${os.EOL}`;
logMessages += successMessage;

if (logMessages) {
Expand All @@ -62,7 +62,7 @@ const restoreConfigFiles = async () => {
await fs.appendFile(logFilePath, errorMessage);
}
} catch (err) {
const errorMessage = `${getCurrentDateTime()},Backup directory ${backupDir} not found. There is nothing to restore${
const errorMessage = `${getCurrentDateTime()},${backupDir} directory does not exist. There is nothing to restore${
os.EOL
}`;
logMessages += errorMessage;
Expand Down

0 comments on commit fd2512c

Please sign in to comment.