This package was treating the entire config value of api_key_vault_cmd as one executable name, rather than treating it as a shell command --- but it also probably shouldn't treat it as a shell command, as wakatime-cli doesn't do that either.
wakatime-cli instead treats the value as a space-separated list of the executable and its arguments:
This package was treating the entire config value of
api_key_vault_cmd
as one executable name, rather than treating it as a shell command --- but it also probably shouldn't treat it as a shell command, as wakatime-cli doesn't do that either.wakatime-cli instead treats the value as a space-separated list of the executable and its arguments:
https://github.com/wakatime/wakatime-cli/blob/1fd560a/cmd/params/params.go#L707-L719
This PR makes vscode-wakatime mimick that behavior.
This should fix https://github.com/wakatime/vscode-wakatime/issues/387.