Skip to content

Commit

Permalink
fix: status shows regular files
Browse files Browse the repository at this point in the history
  • Loading branch information
kucaahbe committed Jan 31, 2024
1 parent 97c78cc commit d20cc49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/cli.d
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private void printStatus1(ref Config app_config)
output ~= symlink.actual.absolute;
} else if (symlink.destination.isDir) {
output ~= "is a directory";
} else {
output ~= "is a regular file";
}
} else {
output ~= "no such file or directory";
Expand Down

0 comments on commit d20cc49

Please sign in to comment.