mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-13 20:51:41 -05:00
workflow: run checkLink sequentially
This commit is contained in:
@@ -51,6 +51,13 @@ function checkFiles (folder, all = false, recursive = false) {
|
||||
|
||||
checkFiles(path.resolve(__dirname, '../packages/@vue'), false, true)
|
||||
checkFiles(path.resolve(__dirname, '../packages/@vue/cli/lib/promptModules'), true, true)
|
||||
Promise.all(promises).catch(() => {
|
||||
|
||||
async function main () {
|
||||
for (const p of promises) {
|
||||
await p
|
||||
}
|
||||
}
|
||||
|
||||
main().catch(() => {
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user