stylecheck

This commit is contained in:
Araxeus
2021-04-05 03:25:45 +03:00
parent 28d366ab19
commit 11bd1adbd4
3 changed files with 26 additions and 26 deletions

View File

@ -2,13 +2,13 @@ const { ipcRenderer } = require("electron");
module.exports = () => {
ipcRenderer.on("log", (event, log) => {
let string = log.toString() || log;
if (string) {
console.log(string);
} else {
for (let propery of log) {
console.log(propery.toString() || propery);
}
}
})
let string = log.toString() || log;
if (string) {
console.log(string);
} else {
for (let propery of log) {
console.log(propery.toString() || propery);
}
}
})
}