From ac884344b24112b11cd6cad0a7cf41f036159a22 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 4 Jul 2018 22:20:56 +0300 Subject: Remove passing redundant optional argument to dir_exists() --- libbpkg/manifest.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx index 0fa2a4c..dc488de 100644 --- a/libbpkg/manifest.cxx +++ b/libbpkg/manifest.cxx @@ -2070,8 +2070,7 @@ namespace bpkg case repository_protocol::file: { return local && - dir_exists (path_cast (*url.path) / dir_path (".git"), - false) + dir_exists (path_cast (*url.path) / dir_path (".git")) ? repository_type::git : repository_type::pkg; } -- cgit v1.1