When debugging this error, I noticed that paths are being indexed with both / and \ separators. This was causing the nil value error in virtual_name.lua because it expects either one or the other.
To resolve this, I added an extra step to ensure all path / chars are replaced with \ before trying to determine the virtual path. This is only executed on Windows.
Resolves #70
When debugging this error, I noticed that paths are being indexed with both
/
and\
separators. This was causing the nil value error invirtual_name.lua
because it expects either one or the other.To resolve this, I added an extra step to ensure all path
/
chars are replaced with\
before trying to determine the virtual path. This is only executed on Windows.