Make explicit return of promises in clang-format beautifier
This commit is contained in:
parent
088cc39790
commit
c56735f2fb
|
@ -61,7 +61,7 @@ module.exports = class ClangFormat extends Beautifier
|
||||||
)
|
)
|
||||||
.then((dumpFile) =>
|
.then((dumpFile) =>
|
||||||
# console.log("clang-format", dumpFile)
|
# console.log("clang-format", dumpFile)
|
||||||
@run("clang-format", [
|
return @run("clang-format", [
|
||||||
@dumpToFile(dumpFile, text)
|
@dumpToFile(dumpFile, text)
|
||||||
["--style=file"]
|
["--style=file"]
|
||||||
], help: {
|
], help: {
|
||||||
|
|
Loading…
Reference in New Issue