Skip to content

Commit c2b28f2

Browse files
committed
fix: typo
1 parent 6396037 commit c2b28f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/plugify/config.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ namespace plugify {
141141
struct Security {
142142
std::unordered_set<std::string> whitelistedExtensions;
143143
std::unordered_set<std::string> blacklistedExtensions;
144-
std::unordered_set<std::filesystem::path> excludedDirs = DefaultExludedDirs;
144+
std::unordered_set<std::filesystem::path> excludedDirs = DefaultExcludedDirs;
145145

146146
bool HasWhitelist() const {
147147
return !whitelistedExtensions.empty();
@@ -152,7 +152,7 @@ namespace plugify {
152152
}
153153

154154
bool HasExcluded() const {
155-
return excludedDirs != DefaultExludedDirs;
155+
return excludedDirs != DefaultExcludedDirs;
156156
}
157157
} security;
158158

@@ -469,7 +469,7 @@ namespace plugify {
469469
}
470470

471471
private:
472-
static constexpr std::unordered_set<std::filesystem::path> DefaultExludedDirs = {
472+
static inline std::unordered_set<std::filesystem::path> DefaultExcludedDirs = {
473473
PLUGIFY_PATH_LITERAL("disabled"),
474474
PLUGIFY_PATH_LITERAL(".git"),
475475
PLUGIFY_PATH_LITERAL(".svn"),

0 commit comments

Comments
 (0)