File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @gofynd/fdk-cli" ,
3- "version" : " 8.0.1 " ,
3+ "version" : " 8.0.2 " ,
44 "main" : " index.js" ,
55 "license" : " MIT" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -122,12 +122,12 @@ export async function hasAnyDeltaBetweenLocalAndRemoteLocales(targetDirectory):
122122export async function syncLocales ( syncMode : SyncMode , targetDirectory = "" ) : Promise < void > {
123123 Logger . debug ( `Starting locale sync in '${ syncMode } ' mode.` ) ;
124124 try {
125- const remoteItems = await fetchRemoteItems ( ) ;
126125 const localesDirExists = fs . existsSync ( LOCALES_DIR ( targetDirectory ) ) ;
127126 if ( ! localesDirExists ) {
128127 Logger . info ( `locales directory does not exist. Hence, skipping the locales sync` ) ;
129128 return ;
130129 }
130+ const remoteItems = await fetchRemoteItems ( ) ;
131131 const localFiles = await getJsonFiles ( targetDirectory ) ;
132132
133133 // Map remote by filename for quick lookup
You can’t perform that action at this time.
0 commit comments