From ea83bd88f26c96cb3c7df1337002a7853c756b6f Mon Sep 17 00:00:00 2001 From: Patrick O'Melveny Date: Thu, 19 Nov 2015 00:00:29 -0800 Subject: [PATCH 1/2] Set ignoreResponseCode to true in yapf.coffee --- src/beautifiers/yapf.coffee | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/beautifiers/yapf.coffee b/src/beautifiers/yapf.coffee index 4fd8ecc..05c3877 100644 --- a/src/beautifiers/yapf.coffee +++ b/src/beautifiers/yapf.coffee @@ -17,6 +17,9 @@ module.exports = class Yapf extends Beautifier @run("yapf", [ ["--style=pep8"] @tempFile("input", text) - ], help: { - link: "https://github.com/google/yapf" + ], { + ignoreReturnCode: true, + help: { + link: "https://github.com/google/yapf" + } }) From 2ea86c30913d2bc884471dd3fb548d9cb19f4331 Mon Sep 17 00:00:00 2001 From: Patrick O'Melveny Date: Thu, 19 Nov 2015 10:46:39 -0800 Subject: [PATCH 2/2] Changed indents to 2 spaces for package consistancy --- src/beautifiers/yapf.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/beautifiers/yapf.coffee b/src/beautifiers/yapf.coffee index 05c3877..6242c00 100644 --- a/src/beautifiers/yapf.coffee +++ b/src/beautifiers/yapf.coffee @@ -18,8 +18,8 @@ module.exports = class Yapf extends Beautifier ["--style=pep8"] @tempFile("input", text) ], { - ignoreReturnCode: true, - help: { - link: "https://github.com/google/yapf" - } + ignoreReturnCode: true, + help: { + link: "https://github.com/google/yapf" + } })