-
Notifications
You must be signed in to change notification settings - Fork 177
Switch back to Hoek.clone from lodash.deepClone. #898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fix lint-md script in package.json to work on Windows.
With this patch, you should have no issues with a set of Windows builds on Travis. Can we do that too as part of this PR? :) |
@Invader444 Awesome! Yes please update this PR with
for travis |
Well.. that is bizarre! I have no such errors in my test output! Ill look into this more tomorrow :/ |
Classic |
Ohhh. Git needs to checkout without auto crlf? |
We rather need to test with regexps matching both cases. |
lol!
::sigh:: I'm not sure why I don't see these Windows errors, although, for one thing I am getting unix-style newlines in my output... perhaps because of nvm? |
@geek, does that coverage report make sense to you? It looks like the line numbers may be inaccurate... :( |
@Invader444 that missing coverage appears to be related to the supports color tty detection. We are using an outdated version and may just need to update to the latest. |
With latest commit:
|
@geek any other ideas? :( |
@Invader444 thoughts on removing windows from travis until we can sort out the build issue? If we revert the travis change then I'll go ahead and merge/release and we can come back to build issues. |
Use rimraf.sync instead of fs.rmdirSync to delete directories in tests, in order to prevent spurious ENOENT errors on Windows.
9829d3c
to
47fa336
Compare
Coverage should not be dependent on the build environment's console, and Travis CI seems to set process.stdout.isTTY to false on its Windows environment.
Eureka! A few more tweaks were needed, but it seems to be working now :) process.stdout.isTTY is false for windows travis builds... they've done this before too: chalk/supports-color#63 Ideally this would be fixed in supports-color upstream, but looks like they won't do that as the last time they tried in the above PR it broke backwards compatibility for some of their package's consumers. |
@Invader444 thanks a lot for your help. This is now published as 18.0.1 |
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
Fix lint-md script in package.json to work on Windows.