in index.js [31:42]
function clangFormat(file, enc, style, done) {
let args = [`-style=${style}`, file.path];
let result = spawnClangFormat(args, done, ['ignore', 'pipe', process.stderr]);
if (result) { // must be ChildProcess
result.stdout.setEncoding(enc);
return result.stdout;
} else {
// We shouldn't be able to reach this line, because it's not possible to
// set the --glob arg in this function.
throw new Error('Can\'t get output stream when --glob flag is set');
}
}