Skip to content

Commit 01981d1

Browse files
committed
Rename local var to try to avoid conflict during pathinfo Travis testing
1 parent 8fef897 commit 01981d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/filesystem/pathinfo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ function pathinfo(path, options) {
8282

8383
// Gather path infos
8484
if (options & OPTS.PATHINFO_DIRNAME) {
85-
var dirname = this.dirname(path);
86-
tmp_arr.dirname = dirname === path ? '.' : dirname;
85+
var dirName = this.dirname(path);
86+
tmp_arr.dirname = dirName === path ? '.' : dirName;
8787
}
8888

8989
if (options & OPTS.PATHINFO_BASENAME) {

0 commit comments

Comments
 (0)