@enplug/scripts 1.11.4-dev10 → 1.11.4-dev11

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.
@@ -158,9 +158,11 @@ async function findCrowdinAppSubFolderId(credentials, directoryId, subfolderName
158
158
  }
159
159
 
160
160
  async function getFileIdIfExists(credentials, directoryId, fileName) {
161
+ console.log('fileName', fileName);
161
162
  const url = `${CROWDIN_PROJECT_URL}/files?directoryId=${directoryId}`;
162
163
  const AuthStr = 'Bearer '.concat(credentials.token);
163
164
  const resp = await axios.get(url, { headers: { Authorization: AuthStr } });
165
+ console.log('resp', resp);
164
166
  const file = resp.data.data.find(d => d.data.name === fileName);
165
167
  console.log('file found', file);
166
168
  return file.data.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enplug/scripts",
3
- "version": "1.11.4-dev10",
3
+ "version": "1.11.4-dev11",
4
4
  "description": "Enplug scripts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",