Fix trailing space in editor command

Why commit code when you can fix it twice?
This commit is contained in:
Oliver Blanthorn 2018-04-20 18:52:23 +01:00
parent ec13fa5dec
commit 0156fc233f
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -48,7 +48,7 @@ export async function getNativeMessengerVersion(): Promise<number> {
export async function editor(file: string, content?: string) { export async function editor(file: string, content?: string) {
if (content !== undefined) await write(file, content) if (content !== undefined) await write(file, content)
await run(config.get("editorcmd") + file) await run(config.get("editorcmd") + " " + file)
return await read(file) return await read(file)
} }