Skip to content

Commit 075a9a3

Browse files
committed
chore: apply suggestions
1 parent f5ec7fa commit 075a9a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/generateLocales.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,11 @@ function generateRecursiveModuleIndexes(
224224

225225
/**
226226
* Intermediate helper function to allow selectively updating locale data files.
227-
* Use the `updateLocaleFileHook()` to temporarily add the custom per file logic.
227+
* Use the `updateLocaleFileHook()` method to temporarily add your custom per file processing/update logic.
228228
*
229229
* @param filePath The full file path to the file.
230230
*/
231-
function updateLocaleFile(filePath: string) {
231+
function updateLocaleFile(filePath: string): void {
232232
if (lstatSync(filePath).isFile()) {
233233
const pathParts = filePath
234234
.substring(pathLocales.length + 1, filePath.length - 3)
@@ -251,7 +251,7 @@ function updateLocaleFileHook(
251251
filePath: string,
252252
locale: string,
253253
localePath: string[]
254-
) {
254+
): void {
255255
if (filePath === 'never') {
256256
console.log(filePath + ' <-> ' + locale + ' @ ' + localePath.join(' -> '));
257257
}

0 commit comments

Comments
 (0)