to-absolute-glob icon indicating copy to clipboard operation
to-absolute-glob copied to clipboard

Resolve double dot and tilde

Open pdonias opened this issue 8 years ago • 2 comments
trafficstars

Wouldn't it be better if toAbsGlob('../a') could return '/dev/a' instead of '/dev/foo/../a'?

Same thing for tilde: toAbsGlob('~/a') should return '/path/to/my/home/a' instead of '/dev/foo/~/a'

pdonias avatar Dec 07 '16 08:12 pdonias

is this based on actual usage or theoretical based on a typo in the readme?

jonschlinkert avatar Dec 07 '16 09:12 jonschlinkert

Actual usage :)

pdonias avatar Dec 07 '16 09:12 pdonias