Currently trying to something like
const env = {
GIT_AUTHOR_NAME: "First Last",
GIT_AUTHOR_EMAIL: "test@company.com",
};
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: `"test@company.com"`,
};
This shouldn't be needed and should be correctly handled by the SDK.
Currently trying to something like
fails with
To make this work you need to escape the environment variable value manually.
This shouldn't be needed and should be correctly handled by the SDK.