Skip to content

Commit 0936a24

Browse files
committed
fix: profile directory reference
1 parent 0e7b1fd commit 0936a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/profile_directory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl ProfileDirectory {
4040
};
4141

4242
for profile in profiles.flatten() {
43-
if profile.metadata().map(|metadata| metadata.is_dir()).unwrap_or(false) {
43+
if profile.metadata().map(|metadata| metadata.is_file()).unwrap_or(false) {
4444
profile_directories.push(Uri::file(profile.path().to_string_lossy().to_string()));
4545
}
4646
}

0 commit comments

Comments
 (0)