Closed memememomo closed 4 years ago
The signature of path.relative is as follows
path.relative
path.relative(from, to) https://nodejs.org/api/path.html#path_path_relative_from_to
In the following code, the arguments appear to be in the wrong order, is that what you intended?
path.relative(dest, asset.absolutePath)
https://github.com/postcss/postcss-url/blob/master/src/type/rebase.js#L21
The signature of
path.relative
is as followsIn the following code, the arguments appear to be in the wrong order, is that what you intended?
https://github.com/postcss/postcss-url/blob/master/src/type/rebase.js#L21