@enplug/scripts 1.11.4-dev47 → 1.11.4-dev48

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.
@@ -116,7 +116,7 @@ async function findCrowdinAppDirectoryId(credentials, crowdinPath, appName) {
116
116
  const directory = resp.data.data.find(d => d.data.name === appName );
117
117
  return directory ? directory.data.id : undefined;
118
118
  } catch (err) {
119
- if (error.response.status === HTTP_UNAUTHORIZED_STATUS_CODE) {
119
+ if (err.response.status === HTTP_UNAUTHORIZED_STATUS_CODE) {
120
120
  console.error(`\n${chalk.red.bold('Provided Crowdin token is invalid')}`);
121
121
  console.log(`Check the ${chalk.default.yellow('dev.private.json')} file.`);
122
122
  throw new Error('Could not get Crowdin config');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enplug/scripts",
3
- "version": "1.11.4-dev47",
3
+ "version": "1.11.4-dev48",
4
4
  "description": "Enplug scripts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",