erictik / midjourney-api

MidJourney client. Unofficial Node.js client
Apache License 2.0
1.69k stars 283 forks source link

[Info]runningsJobs may have multiple lines #239

Open alphabiz-se4 opened 11 months ago

alphabiz-se4 commented 11 months ago

the code that reproduces this issue or a replay of the bug

async waitInfo() {
        return new Promise((resolve, reject) => {
            this.onceInfo((message) => {
                console.log('!!!', message)
                resolve((0, utils_1.formatInfo)(message));
            });
        });
    }
const infoResponse = await client.Info()
console.log('infoResponse!!!', infoResponse, runningJobs)

Describe the bug

Describe the bug runningsJobs is not displayed completely

Expected behavior Expect runningsJobs to display completely

Screenshots

e7b65e0d4f1da8a61ebc7e91c619cf1

error log

runningsJobs is not displayed completely