Skip to content

doc: path.resolve ignores zero-length strings

Rodrigo Muino Tomonari requested to merge github/fork/igorklopov/patch-1 into master

path.resolve does not use cwd for zero-length strings as written in docs. Instead it just skips them when iterating. https://github.com/nodejs/node/blob/master/lib/path.js#L187 https://github.com/nodejs/node/blob/master/lib/path.js#L1189

Merge request reports

Loading