aio-cli icon indicating copy to clipboard operation
aio-cli copied to clipboard

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

Open purplecabbage opened this issue 1 year ago • 2 comments

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

purplecabbage avatar Dec 07 '24 02:12 purplecabbage