Skip to content

Commit

Permalink
Manifest: tryParse: findRecursive -> findRecursively
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui committed Jan 7, 2025
1 parent 636527c commit 6caff4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Manifest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ findManifest(fs::path candidate) noexcept {
}

Result<Manifest>
Manifest::tryParse(fs::path path, const bool findRecursive) noexcept {
if (findRecursive) {
Manifest::tryParse(fs::path path, const bool findRecursively) noexcept {
if (findRecursively) {
path = Try(findManifest(path.parent_path()));
}
return Manifest::tryFromToml(toml::parse(path), path);
Expand Down
2 changes: 1 addition & 1 deletion src/Manifest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct Manifest {

static Result<Manifest> tryParse(
fs::path path = fs::current_path() / "cabin.toml",
bool findRecursive = true
bool findRecursively = true
) noexcept;
static Result<Manifest>
tryFromToml(const toml::value& data, fs::path path = "unknown") noexcept;
Expand Down

0 comments on commit 6caff4e

Please sign in to comment.