Giter Club home page Giter Club logo

Comments (7)

timotheeguerin avatar timotheeguerin commented on July 29, 2024

pretty sure this is yaml specs https://stackoverflow.com/questions/42124227/why-does-the-yaml-spec-mandate-a-space-after-the-colon

from aztk.

jiata avatar jiata commented on July 29, 2024

got it. Is there a good way to handle that error? I was confused by the error msg.
secrets_config

from aztk.

timotheeguerin avatar timotheeguerin commented on July 29, 2024

yeah not sure if there is anything we can do for this error. But I feel like editor syntax highlighting should show the user something is wrong. See with vscode:
image

from aztk.

jiata avatar jiata commented on July 29, 2024

yeah, vscode is nice. i was just on a new vm and wanted to get something up and running quickly, so i was just editing in the default text editor program (notes i think?)

mmm.. yeah not sure, maybe this is something we call out in our documentation. I feel like this may cause problem for lots of non-yaml users (already had one other than myself!)

from aztk.

timotheeguerin avatar timotheeguerin commented on July 29, 2024

yeah I don't really see what else we can do. I don't see how from the yaml error you have we can figure that out. We could definitely improve the message to say which file is invalid and maybe a link on the doc as well as the error message

from aztk.

jafreck avatar jafreck commented on July 29, 2024

We can catch the yaml error and tell the user something like "There is an issue with your secrets.yaml configuration near line 6 column 20". We probably won't be able to get much more specific than that.

from aztk.

jiata avatar jiata commented on July 29, 2024

cool. yeah, @jafreck thats better than nothing imo. + some documentation.

from aztk.

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.