Skip to content

Commit

Permalink
Merge pull request #176 from ActuallyHappening/master
Browse files Browse the repository at this point in the history
fix(#170): Now considers the CWD to be a workspace root
  • Loading branch information
mdsteele authored Mar 13, 2024
2 parents fd94ab5 + bb2ba14 commit e7e8982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bundle/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ impl Settings {
*/
fn get_workspace_dir(current_dir: PathBuf) -> PathBuf {
let mut dir = current_dir.clone();
let set = load_metadata(&dir);
if set.is_ok() {
return dir;
}
while dir.pop() {
let set = load_metadata(&dir);
if set.is_ok() {
Expand Down

0 comments on commit e7e8982

Please sign in to comment.