Format Style Fixes

This commit is contained in:
sp-tarkov-bot
2025-07-28 19:39:29 +00:00
parent 51430d55c9
commit b14b74bf24
357 changed files with 7345 additions and 24604 deletions
@@ -5,12 +5,7 @@ using SPTarkov.Server.Core.Utils;
namespace SPTarkov.Server.Core.Services;
[Injectable(InjectionType.Singleton)]
public class BundleHashCacheService(
ISptLogger<BundleHashCacheService> logger,
JsonUtil jsonUtil,
HashUtil hashUtil,
FileUtil fileUtil
)
public class BundleHashCacheService(ISptLogger<BundleHashCacheService> logger, JsonUtil jsonUtil, HashUtil hashUtil, FileUtil fileUtil)
{
protected const string _bundleHashCachePath = "./user/cache/";
protected const string _cacheName = "bundleHashCache.json";
@@ -35,10 +30,7 @@ public class BundleHashCacheService(
Directory.CreateDirectory(_bundleHashCachePath);
}
await fileUtil.WriteFileAsync(
Path.Join(_bundleHashCachePath, _cacheName),
jsonUtil.Serialize(_bundleHashes)
);
await fileUtil.WriteFileAsync(Path.Join(_bundleHashCachePath, _cacheName), jsonUtil.Serialize(_bundleHashes));
logger.Debug($"Bundle: {bundlePath} hash stored in: ${_bundleHashCachePath}");
}