Skip to content

Commit

Permalink
Changed: ReadAllBytes now Async
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Dec 15, 2023
1 parent fca1500 commit fd8f82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p5rpc.modloader/Merging/SpdMerger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ await Task.Run(async () =>
}

// Cache merged
var item = await _mergedFileCache.AddAsync(mergedKey, innerSources, File.ReadAllBytes(spdPath));
var item = await _mergedFileCache.AddAsync(mergedKey, innerSources, await File.ReadAllBytesAsync(spdPath));
_utils.ReplaceFileInBinderInput(pathToFileMap, route, spdPath);
_logger.Info("Merge {0} Complete. Cached to {1}.", route, item.RelativePath);
}
Expand Down

0 comments on commit fd8f82a

Please sign in to comment.