Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Replace multispinner with listr in build.js #971

Merged

Conversation

h3poteto
Copy link
Contributor

refs #924

multispinner is not maintained, and it has security issues. So I propose replacing multispinner with another one.
In this pull request, I am using listr. listr can execute multiple tasks in parallel, so I think that it is enough to meet this requirement.

I have already used this script in my project, it looks like here:
Screenshot from 2019-12-31 00-02-45

@XanderLuciano XanderLuciano merged commit 8333ac9 into SimulatedGREG:master Apr 21, 2021
console.error(`\n${err}\n`)
process.exit(1)
})
const tasks = new Listr(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already has var named tasks
const tasks = ['main', 'renderer']

Copy link

@mel-florance mel-florance Jun 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes why a such mistake, alll the build pipeline is broken now.
How could this have been merged into master?

If we try to fix it and change its name, we get another error, like Multispinner is not declared.

Is there a fix for that?

Edit: Ok i proposed a fix right here #1090

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants