We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f74bf5 commit cb9b796Copy full SHA for cb9b796
src/util.js
@@ -61,6 +61,9 @@ function _global_options(argv) {
61
62
/* Print data from process. */
63
function _log(data) {
64
+ // After using `spawn` method, it will print two newline at the end of
65
+ // message (Emacs + console.log). We simply remove 1 newline at the end
66
+ // to prevent printing 2 newlines from one data.
67
console.log(data.toString().replace(/\n$/, ''));
68
}
69
0 commit comments