adobe / adobe/aio-cli

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

Open
#699 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
95
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.