Currently trying to something like
const env = {
GIT_AUTHOR_NAME: "First Last",
GIT_AUTHOR_EMAIL: "[email protected]",
};
client.commands.run("git add --all", { env })
fails with
env: ‘Last’: No such file or directory
To make this work you need to escape the environment variable value manually.
const env = {
GIT_AUTHOR_NAME: `"First Last"`,
GIT_AUTHOR_EMAIL: `"[email protected]"`,
};
This shouldn't be needed and should be correctly handled by the SDK.