@crowdin/app-project-module 0.23.4 → 0.23.5
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.
- package/out/util/cron.js +1 -1
- package/package.json +1 -1
package/out/util/cron.js
CHANGED
|
@@ -98,7 +98,7 @@ function filesCron(config, integration, period) {
|
|
|
98
98
|
const crowdinFiles = files;
|
|
99
99
|
const onlyTranslated = intConfig.condition === SyncCondition.TRANSLATED;
|
|
100
100
|
const onlyApproved = intConfig.condition === SyncCondition.APPROVED;
|
|
101
|
-
const all = intConfig.condition === SyncCondition.ALL;
|
|
101
|
+
const all = intConfig.condition === SyncCondition.ALL || intConfig.condition === undefined;
|
|
102
102
|
(0, _1.log)(`Executing updateIntegration task for files cron job with period [${period}] for project ${projectId} and request ${JSON.stringify(files, null, 2)}`, config.logger);
|
|
103
103
|
if (all) {
|
|
104
104
|
yield integration.updateIntegration(projectId, crowdinClient, apiCredentials, crowdinFiles, rootFolder, intConfig);
|
package/package.json
CHANGED