feat: replace console with logger

This commit is contained in:
Zamitto 2024-12-23 09:17:47 -03:00
parent 59846cfe2f
commit c9be6b6b92
5 changed files with 6 additions and 10 deletions

View file

@ -43,8 +43,6 @@ export class PythonRPC {
}
public static spawn(initialDownload?: StartDownloadPayload) {
console.log([this.BITTORRENT_PORT, this.RPC_PORT, this.RPC_PASSWORD]);
const commonArgs = [
this.BITTORRENT_PORT,
this.RPC_PORT,
@ -86,8 +84,6 @@ export class PythonRPC {
"main.py"
);
console.log(scriptPath);
const childProcess = cp.spawn("python3", [scriptPath, ...commonArgs], {
stdio: ["inherit", "inherit"],
});