@enplug/scripts 1.11.4-dev52 → 1.11.4-dev53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -197,7 +197,6 @@ async function updateCrowdinFile(credentials, crowdinPath, storageId, fileId) {
197
197
  }
198
198
  },
199
199
  error: error => {
200
- const crowdinError = error.response && error.response.data && error.response.data.error;
201
200
  console.error('\nUnexpected error:');
202
201
  console.error(error);
203
202
  }
@@ -86,7 +86,7 @@ async function syncTranslations(s3Client, bucket) {
86
86
  const response = await updateCrowdinFile(credentials, crowdinPath, storageId.data.data.id, fileId);
87
87
  }
88
88
  } else {
89
- //TODO add file
89
+ console.error(`Could not find ${chalk.yellow.bold(`[${crowdinPathSections[3]}]`)} file, create it in the Crowdin panel first.`);
90
90
  }
91
91
  } else if(crowdinPathSections[0] === 'dashboard' && appDirectoryId) {
92
92
  if(crowdinPathSections[1] === 'en.json') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enplug/scripts",
3
- "version": "1.11.4-dev52",
3
+ "version": "1.11.4-dev53",
4
4
  "description": "Enplug scripts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",