diff options
author | Weijia Wang <381152119@qq.com> | 2018-01-04 11:55:56 +0800 |
---|---|---|
committer | Weijia Wang <381152119@qq.com> | 2018-01-11 11:11:22 +0800 |
commit | 315d1f553de9c1c5cf0ab9ee2623b5420bee8a09 (patch) | |
tree | cdbd5c3165838f59e996bbcad8adb40bbffe1736 /tools/eslint/node_modules/lodash/map.js | |
parent | 8aec3638cebd338b0ea2a62c3e1469b8e29616d7 (diff) | |
download | node-new-315d1f553de9c1c5cf0ab9ee2623b5420bee8a09.tar.gz |
path: fix path.normalize for relative paths
After slicing, the `lastSegmentLength` should be calculated again,
instead of assigning value `j`.
PR-URL: https://github.com/nodejs/node/pull/17974
Fixes: https://github.com/nodejs/node/issues/17928
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'tools/eslint/node_modules/lodash/map.js')
0 files changed, 0 insertions, 0 deletions