Skip to content

ProcessService needs to be modified to use resolved environment variables #1339

Closed

Description

When env variables are not passed into methods of IProcessService, we use the current process env variables.
However, these variables do not contain variables defined in the environment files.

E.g. issues such as #1338 cannot be resolved even if .env file has been updated.

  • Create tests
  • Create tests to ensure existing code will also utilize these new variables (defined in .env files)

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    debtCode quality issues
    and removed
    bugIssue identified by VS Code Team member as probable bug
    on Apr 7, 2018
  2. DonJayamanne commented on Apr 8, 2018

    @DonJayamanne
    Author

    Seems like a very large PR

    Option 1

    • Creating separate PRs
    • With additional tests
      Lets discuss the need for this later during the week.

    Option 2

    • Always pass environment variables to the exec and execObservable methods of IProcessService
    • Ensure to check this in PRs.
  3. added a commit that references this issue on May 8, 2018
    128d231
  4. locked as resolved and limited conversation to collaborators on Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtCode quality issues

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions