@@ -21,7 +21,7 @@ else if (process.env.PATH !== undefined) {
2121
2222const host = process . env . TYPESCRIPT_HOST || process . env . host || "node" ;
2323
24- const locales = [ "cs" , "de" , "es" , "fr" , "it" , "ja" , "ko" , "pl" , "pt-br " , "ru" , "tr" , "zh-cn " , "zh-tw " ] ;
24+ const locales = [ "cs" , "de" , "es" , "fr" , "it" , "ja" , "ko" , "pl" , "pt-BR " , "ru" , "tr" , "zh-CN " , "zh-TW " ] ;
2525
2626const defaultTestTimeout = 40000 ;
2727
@@ -172,7 +172,7 @@ task(TaskNames.lkg, [
172172 if ( sizeAfter > ( sizeBefore * 1.10 ) ) {
173173 throw new Error ( "The lib folder increased by 10% or more. This likely indicates a bug." ) ;
174174 }
175-
175+
176176 complete ( ) ;
177177 } ) ;
178178} , { async : true } ) ;
@@ -341,7 +341,7 @@ file(Paths.servicesDefinitionFile, [TaskNames.coreBuild], function() {
341341 } ,
342342 files
343343 } ;
344-
344+
345345 const configFilePath = `built/local/typescriptServices.tsconfig.json` ;
346346 fs . writeFileSync ( configFilePath , JSON . stringify ( config , undefined , 2 ) ) ;
347347 tsbuild ( configFilePath , false , ( ) => {
@@ -683,8 +683,8 @@ function diagnosticsToString(diagnostics, pretty) {
683683
684684/**
685685 * Concatenate a list of sourceFiles to a destinationFile
686- * @param {string } destinationFile
687- * @param {string[] } sourceFiles
686+ * @param {string } destinationFile
687+ * @param {string[] } sourceFiles
688688 * @param {string } extraContent
689689 */
690690function concatenateFiles ( destinationFile , sourceFiles , extraContent ) {
@@ -711,8 +711,8 @@ function appendToFile(path, content) {
711711}
712712
713713/**
714- *
715- * @param {string } path
714+ *
715+ * @param {string } path
716716 * @returns string
717717 */
718718function readFileSync ( path ) {
@@ -729,7 +729,7 @@ function getDiffTool() {
729729
730730/**
731731 * Replaces const enum declarations with non-const enums
732- * @param {string } text
732+ * @param {string } text
733733 */
734734function removeConstModifierFromEnumDeclarations ( text ) {
735735 return text . replace ( / ^ ( \s * ) ( e x p o r t ) ? c o n s t e n u m ( \S + ) { ( \s * ) $ / gm, '$1$2enum $3 {$4' ) ;
0 commit comments