Fix projects plugin for repository template
This commit is contained in:
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -55,6 +55,7 @@
|
|||||||
await common(...arguments)
|
await common(...arguments)
|
||||||
await Promise.all(pending)
|
await Promise.all(pending)
|
||||||
|
|
||||||
//Reformat projects name
|
//Reformat projects names
|
||||||
data.plugins.projects.list.map(project => project.name = project.name.replace(`(${login}/${repo})`, "").trim())
|
if (data.plugins.projects)
|
||||||
|
data.plugins.projects.list?.map(project => project.name = project.name.replace(`(${login}/${repo})`, "").trim())
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user