We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938a824 commit e2057f6Copy full SHA for e2057f6
src/lse/PluginMigration.cpp
@@ -39,7 +39,7 @@ auto migratePlugin(const std::filesystem::path& path) -> void {
39
const auto& pluginBaseName = path.stem();
40
const auto& pluginDir = ll::plugin::getPluginsRoot() / pluginBaseName;
41
42
- if (std::filesystem::exists(pluginDir)) {
+ if (std::filesystem::exists(pluginDir / path.filename())) {
43
throw std::runtime_error(
44
fmt::format("failed to migrate legacy plugin at {}: {} already exists", path.string(), pluginDir.string())
45
);
0 commit comments