Skip to content

Commit

Permalink
Fix object logging, resolves #1522
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoTheThird committed Nov 13, 2020
1 parent bff5461 commit 39bbbe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ global.adb = deviceTools.adb;
global.fastboot = deviceTools.fastboot;
global.heimdall = deviceTools.heimdall;
["exec", "spawn:start", "spawn:exit", "spawn:error"].forEach(event =>
deviceTools.on(event, r => global.logger.log("command", event, r))
deviceTools.on(event, r =>
global.logger.log("command", `${event}: ${JSON.stringify(r)}`)
)
);

const settings = new Store({
Expand Down

0 comments on commit 39bbbe4

Please sign in to comment.