Fixed minor issue in clang-format
This commit is contained in:
parent
8faa197bca
commit
852c356551
|
@ -21,7 +21,7 @@ module.exports = class ClangFormat extends Beautifier
|
|||
Dump contents to a given file
|
||||
###
|
||||
dumpToFile: (name = "atom-beautify-dump", contents = "") ->
|
||||
return new Promise((resolve, reject) =>
|
||||
return new @Promise((resolve, reject) =>
|
||||
fs.open(name, "w", (err, fd) =>
|
||||
@debug('dumpToFile', name, err, fd)
|
||||
return reject(err) if err
|
||||
|
|
Loading…
Reference in New Issue