Code Monkey home page Code Monkey logo

Comments (9)

addyosmani avatar addyosmani commented on August 17, 2024

@bezoerb It would be great to update our tests to account for any URL changes once we've figured out how to safely avoid accidental path translations. Are you able to verify this change in path occurs?

from critical.

bezoerb avatar bezoerb commented on August 17, 2024

Fixed the issue using slash
@addyosmani any chance for running automated tests on windows machines?

from critical.

bezoerb avatar bezoerb commented on August 17, 2024

btw, all unit tests were green on my windows 7 vm after adding the fix.

from critical.

r-flash avatar r-flash commented on August 17, 2024

Perfect. Just one question: wouldn't it be safer to use path.sep in the condition rather than process.platform?

from critical.

addyosmani avatar addyosmani commented on August 17, 2024

I wonder if this is something we could setup via Travis at all. I'll explore it, but good to hear tests are green post-fix.

from critical.

addyosmani avatar addyosmani commented on August 17, 2024

ping @bezoerb re: question above.

from critical.

bezoerb avatar bezoerb commented on August 17, 2024

@addyosmani @r-flash sorry for the delay.
path.sep internally depends on process.platform so it makes no difference.
See https://github.com/joyent/node/blob/master/lib/path.js#L23

from critical.

bezoerb avatar bezoerb commented on August 17, 2024

@addyosmani I've just configured appveyor to run tests on windows but it looks like they don't start automatically. I think you need to add the following webhook for push and on pull request to critical:
https://ci.appveyor.com/api/github/webhook?id=cn6jw7r3ur0gmyg6

from critical.

bezoerb avatar bezoerb commented on August 17, 2024

@addyosmani added you as admin to the appveyor project

from critical.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.