提交 a408ea33 编写于 作者: D Daniel Imms

Wrap in quotes

上级 0629dd09
......@@ -256,13 +256,13 @@ export class TerminalProcessManager extends Disposable implements ITerminalProce
// TODO: Escape the new values properly
switch (mutator.type) {
case EnvironmentVariableMutatorType.Append:
text += `export ${variable}=$${variable}${mutator.value}\n`;
text += `export ${variable}="$${variable}${mutator.value}"\n`;
break;
case EnvironmentVariableMutatorType.Prepend:
text += `export ${variable}=${mutator.value}$${variable}\n`;
text += `export ${variable}="${mutator.value}$${variable}"\n`;
break;
case EnvironmentVariableMutatorType.Replace:
text += `export ${variable}=${mutator.value}\n`;
text += `export ${variable}="${mutator.value}"\n`;
break;
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册