Skip to content

Commit

Permalink
Avoid processing create file cache request if cache already exists. g…
Browse files Browse the repository at this point in the history
  • Loading branch information
negiDharmendra committed Feb 20, 2019
1 parent 2845f50 commit 2fa771f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processors/CacheFileProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Message Process(Message request)
_loader.ReloadSteps(content, file);
break;
case FileStatus.Created:
if (_loader.GetStepRegistry().IsFileCached(file))
if (!_loader.GetStepRegistry().IsFileCached(file))
LoadFromDisk(file);
break;
case FileStatus.Closed:
Expand Down

0 comments on commit 2fa771f

Please sign in to comment.