mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-22 17:39:19 +00:00
Fix output newlines
This commit is contained in:
@@ -8,6 +8,7 @@ const {
|
|||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
const dom = require('xmldom').DOMParser;
|
const dom = require('xmldom').DOMParser;
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
const os = require('os');
|
||||||
const Long = require('long');
|
const Long = require('long');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const xpath = require('xpath');
|
const xpath = require('xpath');
|
||||||
@@ -103,7 +104,8 @@ class AndroidDebugSession extends DebugSession {
|
|||||||
|
|
||||||
LOG(msg) {
|
LOG(msg) {
|
||||||
D(msg);
|
D(msg);
|
||||||
this.sendEvent(new OutputEvent(msg));
|
// VSCode no longer auto-newlines output
|
||||||
|
this.sendEvent(new OutputEvent(msg + os.EOL));
|
||||||
}
|
}
|
||||||
|
|
||||||
WARN(msg) {
|
WARN(msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user