Skip to content

Commit ef4b3b5

Browse files
authored
Merge pull request github#20799 from github/repo-sync
repo sync
2 parents 7776fa5 + 2b9dfe8 commit ef4b3b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/i18n/fix-translation-errors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import fm from '../../lib/frontmatter.js'
1616
import matter from 'gray-matter'
1717
import chalk from 'chalk'
1818
import yaml from 'js-yaml'
19-
import ghesReleaseNotesSchema from '../../tests/helpers/schemas/ghes-release-notes-schema.js'
19+
import releaseNotesSchema from '../../tests/helpers/schemas/release-notes-schema.js'
2020
import revalidator from 'revalidator'
2121

2222
main()
@@ -66,7 +66,7 @@ async function main() {
6666
// find the corresponding english file by removing the first 2 path segments: /translation/<language code>
6767
const engAbsPath = relPath.split(path.sep).slice(2).join(path.sep)
6868

69-
const localisedResult = await loadAndValidateContent(relPath, ghesReleaseNotesSchema)
69+
const localisedResult = await loadAndValidateContent(relPath, releaseNotesSchema)
7070
if (!localisedResult) continue
7171
const { data, errors, content } = localisedResult
7272

0 commit comments

Comments
 (0)