mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#5148: Default recipe error logged on setup
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Orchard.Recipes.Services {
|
||||
_appDataFolder.DeleteFile(stepPath);
|
||||
}
|
||||
|
||||
if (stepIndex < 1) {
|
||||
if (stepIndex < 0) {
|
||||
_appDataFolder.DeleteFile(Path.Combine(_recipeQueueFolder, executionId));
|
||||
}
|
||||
|
||||
@@ -86,4 +86,4 @@ namespace Orchard.Recipes.Services {
|
||||
return lastIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user