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 Promise.all(pending)
|
||||
|
||||
//Reformat projects name
|
||||
data.plugins.projects.list.map(project => project.name = project.name.replace(`(${login}/${repo})`, "").trim())
|
||||
//Reformat projects names
|
||||
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