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

Fix spacing after when

上级 4e865b6f
...@@ -31,16 +31,16 @@ export class KeybindingIO { ...@@ -31,16 +31,16 @@ export class KeybindingIO {
if (quotedSerializedWhen.length > 0) { if (quotedSerializedWhen.length > 0) {
out.write(`${quotedSerializeCommand},`); out.write(`${quotedSerializeCommand},`);
out.writeLine(); out.writeLine();
out.write(` "when": ${quotedSerializedWhen} `); out.write(` "when": ${quotedSerializedWhen}`);
} else { } else {
out.write(`${quotedSerializeCommand} `); out.write(`${quotedSerializeCommand}`);
} }
if (item.commandArgs) { if (item.commandArgs) {
out.write(','); out.write(',');
out.writeLine(); out.writeLine();
out.write(` "args": ${JSON.stringify(item.commandArgs)} `); out.write(` "args": ${JSON.stringify(item.commandArgs)}`);
} }
out.write('}'); out.write(' }');
} }
public static readUserKeybindingItem(input: IUserFriendlyKeybinding): IUserKeybindingItem { public static readUserKeybindingItem(input: IUserFriendlyKeybinding): IUserKeybindingItem {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册