Skip to content

Remove ~/.wskprop reading code from aio-cli-plugin-runtime #699

Open
@purplecabbage

Description

@purplecabbage

If the plugin fails to find values in a bunch of other places it goes all the way to ~/.wskprops for values, mine were junk so I was super confused why everything seemed to break with the runtime command.

We will never go back to having a single global namespace / api-host etc. so we can safely remove this and prevent future mes from having the same issue.

Environment Info

  System:
    OS: macOS 15.1.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.70 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.10.0/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 10.3.1

Sample Code that illustrates the problem

Logs taken while reproducing problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions