You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Addon support: no coverage for addon files on Windows #48
I did not get any coverage information for files within the addon subdirectory. This problem seems to be specific for windows environments. It seems, that the function here
in index.js has problems with the path separator on Windows ("/" vs. ""). Inserting relativePath = path.join(relativePath); as the first line in this function seems to solve this issue but this is most probably not the best solution. (I am not an expert on this...)
Activity
rwjblue commentedon Oct 7, 2016
Lets break apart that line a bit, and update your local copy with the snippet below, then tell me what the console output values are..
I suspect, that we actually should be doing the following to cleanup/sanitize using
/before checking_existsSync:nfc036 commentedon Oct 7, 2016
Hi Robert, thanks for looking into this. Here the output for one file:
nfc036 commentedon Oct 7, 2016
Indeed, your second code snippet fixes the problem.
rwjblue commentedon Oct 7, 2016
Submitted #49 to fix.