Code Monkey home page Code Monkey logo

Comments (9)

joshtynjala avatar joshtynjala commented on July 19, 2024

As I recall, you need to add another layer of quotes to define strings. I think this will work:

{ "name": "CONFIG::DEBUG_NS", "value": "\"*\"" }

I seem to remember that the compiler allows you to define non-string basic expressions (like "1+2", for instance) with quotes, so that's why you need to wrap strings with an extra set of quotes.

from asconfigc.

Incubatio avatar Incubatio commented on July 19, 2024

I already tried it.
Quote and double quote get trimmed out.

from asconfigc.

joshtynjala avatar joshtynjala commented on July 19, 2024

Hmmm... perhaps I misremembered. It looks like escaped strings don't work well. I just tested, and you can use single quotes on the inner string instead:

{ "name": "CONFIG::DEBUG_NS", "value": "'*'" }

from asconfigc.

Incubatio avatar Incubatio commented on July 19, 2024

Ok I kept having the issue, but I updated my node version.
Now i can use quote and double quote, my bad.
Thanks for the the answer.

from asconfigc.

joshtynjala avatar joshtynjala commented on July 19, 2024

Interesting! Which Node version did you have installed before?

from asconfigc.

Incubatio avatar Incubatio commented on July 19, 2024

node/6.11.0

from asconfigc.

joshtynjala avatar joshtynjala commented on July 19, 2024

Thanks!

from asconfigc.

Incubatio avatar Incubatio commented on July 19, 2024

I just tried to reproduce by re-switching to node/6.11.0, but I can't ...
Probably a bug related to a npm dependancy, or to a local problem -_-.

from asconfigc.

joshtynjala avatar joshtynjala commented on July 19, 2024

👹 Gremlins! Haha.

from asconfigc.

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.