mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 11:56:36 +00:00
fix: do not trim stdout of clang-format
process
Otherwise, it always causes a _no newline at the end of file_ problem. Closes #1487 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
parent
8a85b5c3d8
commit
3a70547770
@ -62,7 +62,7 @@ export function spawnCommand(
|
||||
});
|
||||
cp.on('exit', (code, signal) => {
|
||||
if (code === 0) {
|
||||
const result = Buffer.concat(outBuffers).toString('utf8').trim();
|
||||
const result = Buffer.concat(outBuffers).toString('utf8');
|
||||
resolve(result);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user