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 997c35e commit 24fb472Copy full SHA for 24fb472
src/lse/PluginMigration.cpp
@@ -45,7 +45,7 @@ auto migratePlugin(const std::filesystem::path& path) -> void {
45
);
46
}
47
48
- if (!std::filesystem::create_directory(pluginDir)) {
+ if (!std::filesystem::create_directory(pluginDir) && !std::filesystem::exists(pluginDir)) {
49
throw std::runtime_error(fmt::format("failed to create directory {}", pluginDir.string()));
50
51
0 commit comments