Skip to content

Commit

Permalink
DirectoryMonitor: Silence hidden file terminal warning (#786)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Wootten <[email protected]>
  • Loading branch information
jeremypw and Jeremy Wootten authored Nov 25, 2024
1 parent 725ff6e commit 1e7d82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DirectoryMonitor.vala
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ public class DirectoryMonitor : Object {
}

if (local_dir_info.get_is_hidden ()) {
warning ("Ignoring hidden directory %s", dir.get_path ());
debug ("Ignoring hidden directory %s", dir.get_path ());

explore_directory_completed (in_discovery);

Expand Down Expand Up @@ -925,7 +925,7 @@ public class DirectoryMonitor : Object {
foreach (FileInfo info in infos) {
// we don't deal with hidden files or directories
if (info.get_is_hidden ()) {
warning ("Skipping hidden file/directory %s",
debug ("Skipping hidden file/directory %s",
dir.get_child (info.get_name ()).get_path ());

continue;
Expand Down

0 comments on commit 1e7d82a

Please sign in to comment.