File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ const USER_OVERRIDE: BucketsList = {
80
80
* from Crowdin to automate the process of importing the needed buckets. See
81
81
* "Instructions for use" above.
82
82
*
83
- * You can alternative use the USER_OVERRIDE object above to manually select buckets.
83
+ * You can alternatively use the USER_OVERRIDE object above to manually select buckets.
84
84
*
85
85
* The script iterates through each language chosen, using the dictionary object
86
- * below to convert the repo lang code to the code used by Crowdin (only if needed,
87
- * defaults to same). `fs` is used to find matching language folder.
86
+ * below to convert the repo lang code to the code used by Crowdin (only if
87
+ * needed, defaults to same). `fs` is used to find matching language folder.
88
88
*
89
89
* The "buckets" chosen (type number[]) are then iterated over, opening the
90
90
* corresponding folder that begins with the same number string (formatted 00).
@@ -289,7 +289,11 @@ const scrapeDirectory = (
289
289
copyFileSync ( source , jsonDestinationPath )
290
290
// Update .json tracker
291
291
trackers . langs [ repoLangCode ] . jsonCopyCount ++
292
- } else if ( item . endsWith ( ".md" ) || item . endsWith ( ".svg" ) ) {
292
+ } else if (
293
+ item . endsWith ( ".md" ) ||
294
+ item . endsWith ( ".svg" ) ||
295
+ item . endsWith ( ".xlsx" )
296
+ ) {
293
297
const mdDestDirPath : string = join (
294
298
repoRoot ,
295
299
"src" ,
You can’t perform that action at this time.
0 commit comments