Make explicit return of promises in clang-format beautifier

This commit is contained in:
Yang Zhang 2015-09-26 22:25:28 +08:00
parent 088cc39790
commit c56735f2fb
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ module.exports = class ClangFormat extends Beautifier
)
.then((dumpFile) =>
# console.log("clang-format", dumpFile)
@run("clang-format", [
return @run("clang-format", [
@dumpToFile(dumpFile, text)
["--style=file"]
], help: {