gtx-cli 2.6.30 → 2.6.31
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# gtx-cli
|
|
2
2
|
|
|
3
|
+
## 2.6.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1070](https://github.com/generaltranslation/gt/pull/1070) [`516979d`](https://github.com/generaltranslation/gt/commit/516979d36cd16c4bc9080ea7dc06b7e299200919) Thanks [@fernando-aviles](https://github.com/fernando-aviles)! - Handle case where all jobs fail
|
|
8
|
+
|
|
3
9
|
## 2.6.30
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.6.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.6.31";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is auto-generated. Do not edit manually.
|
|
2
|
-
export const PACKAGE_VERSION = '2.6.
|
|
2
|
+
export const PACKAGE_VERSION = '2.6.31';
|
|
@@ -75,6 +75,10 @@ export async function runDownloadWorkflow({ fileVersionData, jobData, branchData
|
|
|
75
75
|
for (const [, value] of pollResult.fileTracker.failed) {
|
|
76
76
|
recordWarning('failed_translation', value.fileName, `Failed to translate for locale ${value.locale}`);
|
|
77
77
|
}
|
|
78
|
+
// If all files failed translation, exit early
|
|
79
|
+
if (pollResult.fileTracker.completed.size === 0) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
78
82
|
}
|
|
79
83
|
// Even if polling timed out, still download whatever completed successfully
|
|
80
84
|
if (!pollResult.success) {
|