mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Merge remote-tracking branch 'origin/main' into fix/devtools-fixex
This commit is contained in:
commit
6fbdaa9ca0
2 changed files with 5 additions and 5 deletions
|
|
@ -150,7 +150,7 @@ namespace PepperDash.Essentials.Core.Config
|
|||
// Directory exists, first clear any contents
|
||||
var archivedConfigFiles = ConfigReader.GetConfigFiles(archiveDirectoryPath + Global.DirectorySeparator + Global.ConfigFileName + ".bak");
|
||||
|
||||
if (archivedConfigFiles != null || archivedConfigFiles.Length > 0)
|
||||
if (archivedConfigFiles != null && archivedConfigFiles.Length > 0)
|
||||
{
|
||||
Debug.LogMessage(LogEventLevel.Information, "{0} Existing files found in archive folder. Deleting.", archivedConfigFiles.Length);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue