Skip to content

Commit

Permalink
Merge branch 'release/2.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Jan 12, 2022
2 parents 9b4b08e + 129dee2 commit e8ff5b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Copyright>Copyright © VirtoCommerce 2011-2021</Copyright>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>2.2.0</VersionPrefix>
<VersionPrefix>2.3.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
13 changes: 1 addition & 12 deletions src/VirtoCommerce.Build/PlatformTools/Build.InitPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@ internal partial class Build
.Executes(() =>
{
var configuration = AppSettings.GetConfiguration(RootDirectory, AppsettingsPath);

var moduleCatalogOptions = new LocalStorageModuleCatalogOptions
{
DiscoveryPath = DiscoveryPath.EmptyToNull() ?? configuration.GetModulesDiscoveryPath(),
ProbingPath = ProbingPath,
};

var options = Options.Create(moduleCatalogOptions);
var logger = new LoggerFactory().CreateLogger<LocalStorageModuleCatalog>();
var distributedLock = new NoLockDistributedLockProvider(new LoggerFactory().CreateLogger<NoLockDistributedLockProvider>());
var moduleCatalog = new LocalStorageModuleCatalog(options, distributedLock, logger);
moduleCatalog.Load();
LocalModuleCatalog.GetCatalog(DiscoveryPath.EmptyToNull() ?? configuration.GetModulesDiscoveryPath(), ProbingPath);
});
}
}

0 comments on commit e8ff5b7

Please sign in to comment.