Closed rosszurowski closed 8 years ago
This PR fixes an error that appears on Node 6.0.
The latest release of Node made a breaking change to the path module, which now throws an error if it's passed undefined instead of a string. To fix the exception, this PR adds a type-check to ensure we only ever pass a string to path.
path
undefined
Thank you for the update! Released in 1.0.4:fireworks:
1.0.4
This PR fixes an error that appears on Node 6.0.
The latest release of Node made a breaking change to the
path
module, which now throws an error if it's passedundefined
instead of a string. To fix the exception, this PR adds a type-check to ensure we only ever pass a string topath
.