Skip to content

Commit

Permalink
Merge pull request github#34880 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Oct 10, 2024
2 parents a179ab9 + 0a6659f commit f63d403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github-apps/scripts/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export async function getProgAccessData(progAccessSource, isRest = false) {
await readFile(path.join(progAccessSource, progAccessFilepath), 'utf8'),
)
progActorResources = await getProgActorResourceContent({
localDirectory: path.join(progAccessSource, progActorDirectory),
gitHubSourceDirectory: path.join(progAccessSource, progActorDirectory),
})
} else {
progAccessDataRaw = yaml.load(
Expand Down Expand Up @@ -242,7 +242,7 @@ function getDisplayTitle(permissionName, progActorResources, isRest = false) {
const permissionNameExists = progActorResources[permissionName]
if (!permissionNameExists) {
console.warn(
`The permission ${permissionName} is missing from config/locales/programmatic_actor_fine_grained_resources.en.yml. Creating a placeholder value of ${tempTitle} until it's added.`,
`The permission ${permissionName} is missing from the definitions in the config/access_control/fine_grained_permissions/programmatic_actor_fine_grained_resources directory. Creating a placeholder value of ${tempTitle} until it's added.`,
)
}
const title = progActorResources[permissionName]?.title || tempTitle
Expand Down

0 comments on commit f63d403

Please sign in to comment.