We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814231b commit 45fd059Copy full SHA for 45fd059
lib/Dancer2/FileUtils.pm
@@ -31,7 +31,7 @@ sub path_or_empty {
31
return -e $path ? $path : '';
32
}
33
34
-sub dirname { File::Basename::dirname(@_) }
+sub dirname { return Path::Tiny::path(@_)->parent->stringify; }
35
36
# Can be removed
37
sub set_file_mode {
0 commit comments