Skip to content

Change in preference of local odo causes extension bundled odo preference change #1736

Open
@mohitsuman

Description

@mohitsuman

Environment
VS Code version: 1.48.2
OS: darwin
Extension version: 0.1.6

Description
If the local odo has experimental flag set as true , then the extension bundled odo also fetches the same preference and this causes the extension to break.

This happens as the preference is globally set.

Error Trace:

Failed to create Component with error 'Error: Command failed: "/Users/mohitsuman/.vscode/extensions/redhat.vscode-openshift-connector-0.1.6/out/tools/darwin/odo" create nodejs:10 comp124 --git https://github.com/mohitsuman/nodejs-ex --ref HEAD --app app123 --project demo-discon
 ✗  flag --git, requires --s2i flag to be set, when in experimental mode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions