zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

Zowe Config Auto-Init Instructions #2112

Open dkelosky opened 2 months ago

dkelosky commented 2 months ago

Describe the bug

If I run zowe config auto-init, the defaults section of the config is generated like this:

    "defaults": {
        "endevor": "caendevorapi",
        // Multiple services were detected.
        // Uncomment one of the lines below to set a different default.
        // "zosmf": "ibmzosmf"
        // "zosmf": "zosmf",
        "base": "base",
    },

The comment states //Uncomment one of the lines below to set a different default.. This is super picky, but when you uncomment, this line // "zosmf": "ibmzosmf" you get an error in the JSON because of the missing trailing comma.

Expected and actual results

Since this is actually a JSONC file, can a trailing comma be added to this comment line?

Describe your environment

Additional context

github-actions[bot] commented 2 months ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.