Wrap bf::exists() to check for exception
[platform/core/dotnet/launcher.git] / NativeLauncher / installer-plugin / delete_unused_library_plugin.cc
index d016f89..1e2fdbd 100644 (file)
@@ -56,7 +56,7 @@ extern "C" int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr doc, const char* pkgId)
        }
 
        std::string runtimesDir = concatPath(rootPath, "bin/runtimes");
-       if (!bf::exists(runtimesDir)) {
+       if (!exist(runtimesDir)) {
                return 0;
        }