@devicecloud.dev/dcd 3.3.1 ā 3.3.3-beta.1
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/dist/commands/cloud.js +2 -2
- package/dist/commands/status.js +24 -13
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/cloud.js
CHANGED
|
@@ -214,8 +214,8 @@ class Cloud extends core_1.Command {
|
|
|
214
214
|
});
|
|
215
215
|
testFormData.set('file', blob, 'flowFile.zip');
|
|
216
216
|
testFormData.set('appBinaryId', finalBinaryId);
|
|
217
|
-
testFormData.set('testFileNames', JSON.stringify(testFileNames.map((t) => t.replaceAll(commonRoot, '.'))));
|
|
218
|
-
testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows.map((t) => t.replaceAll(commonRoot, '.'))));
|
|
217
|
+
testFormData.set('testFileNames', JSON.stringify(testFileNames.map((t) => t.replaceAll(commonRoot, '.').split(path.sep).join('/'))));
|
|
218
|
+
testFormData.set('sequentialFlows', JSON.stringify(sequentialFlows.map((t) => t.replaceAll(commonRoot, '.').split(path.sep).join('/'))));
|
|
219
219
|
testFormData.set('env', JSON.stringify(envObject));
|
|
220
220
|
testFormData.set('googlePlay', googlePlay ? 'true' : 'false');
|
|
221
221
|
const config = {
|
package/dist/commands/status.js
CHANGED
|
@@ -50,27 +50,38 @@ class Status extends core_1.Command {
|
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
52
|
try {
|
|
53
|
-
const status = await (0, methods_1.getUploadStatus)(apiUrl, apiKey, {
|
|
53
|
+
const status = (await (0, methods_1.getUploadStatus)(apiUrl, apiKey, {
|
|
54
54
|
name,
|
|
55
55
|
uploadId,
|
|
56
|
-
});
|
|
56
|
+
}));
|
|
57
57
|
if (flags.json) {
|
|
58
58
|
this.log(JSON.stringify(status, null, 2));
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
61
|
-
this.log('\
|
|
62
|
-
this.log('
|
|
61
|
+
this.log('\nš Upload Status');
|
|
62
|
+
this.log('ā'.repeat(80));
|
|
63
63
|
// Display overall status
|
|
64
64
|
const overallSymbol = this.getStatusSymbol(status.status);
|
|
65
|
-
this.log(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
this.log(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
this.log(`${overallSymbol} Status: ${status.status}`);
|
|
66
|
+
if (status.uploadId) {
|
|
67
|
+
this.log(`š Upload ID: ${status.uploadId}`);
|
|
68
|
+
}
|
|
69
|
+
if (status.appBinaryId) {
|
|
70
|
+
this.log(`š± Binary ID: ${status.appBinaryId}`);
|
|
71
|
+
}
|
|
72
|
+
if (status.consoleUrl) {
|
|
73
|
+
this.log(`š Console: ${status.consoleUrl}`);
|
|
74
|
+
}
|
|
75
|
+
if (status.tests.length > 0) {
|
|
76
|
+
this.log('\nš Test Results');
|
|
77
|
+
this.log('ā'.repeat(80));
|
|
78
|
+
status.tests.forEach((item) => {
|
|
79
|
+
const symbol = this.getStatusSymbol(item.status);
|
|
80
|
+
this.log(`${symbol} ${item.name}`);
|
|
81
|
+
this.log(` Status: ${item.status}`);
|
|
82
|
+
this.log('');
|
|
83
|
+
});
|
|
84
|
+
}
|
|
74
85
|
}
|
|
75
86
|
}
|
|
76
87
|
catch (error) {
|
package/oclif.manifest.json
CHANGED