Wrong windows path resolution
Aliaksei-Martsinkevich opened this issue · 1 comments
Aliaksei-Martsinkevich commented
When loading schema from relative path like schema.js
on Windows machine, it resolved into C:\abs\path\to\schema.js
. here. When this string is passed to require
, it leads to following \a
, \p
and so on are processed as escape character, and \p
= p
. So path becomes C:abspathtoschema.js
, which cannot be resolved, obviously.
ardatan commented
Available since 0.4.0