Coder Social home page Coder Social logo

Comments (5)

mkucharz avatar mkucharz commented on May 18, 2024

@Andela-callen @adamwardecki I think actually that kind of format of the endpoint name can create lot more of such problems and for now should be forbidden. Fo example if file parameter is not specified Syncano will search for src/<filename>.js... with path separator in it that can be troublesome.

from syncano-node.

23doors avatar 23doors commented on May 18, 2024

Haven't tested it but checked the code and seems that it should look for src/charge/createCharges.js in this case and work correctly with path separators

from syncano-node.

mkucharz avatar mkucharz commented on May 18, 2024

@23doors do you think we should support it? It is a nice twist, but it is not gonna work with windows (not sure if we will ever try to bring support in non-linux env).

from syncano-node.

23doors avatar 23doors commented on May 18, 2024

@mkucharz hm. It should work on windows as well. Unless I misunderstood something. Backend should deal with it normally (as we're dealing with a zipfile anyway so path delimeter is always the same for us) and node also seem to always use '/' in require as path delimeter (at least I wasn't able to find any info about it being different). So it seems there is no harm in adding support for it in s call as well.

from syncano-node.

mkucharz avatar mkucharz commented on May 18, 2024

@23doors @Andela-callen ok, I'll try to support that feature then

from syncano-node.

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.