@devicecloud.dev/dcd 1.0.9 → 1.0.10
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 +3 -4
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/cloud.js
CHANGED
|
@@ -225,8 +225,9 @@ class Cloud extends core_1.Command {
|
|
|
225
225
|
const testFormData = new FormData();
|
|
226
226
|
// eslint-disable-next-line unicorn/no-array-reduce
|
|
227
227
|
const envObject = (env ?? []).reduce((acc, cur) => {
|
|
228
|
-
const [key, value] = cur.split('=');
|
|
229
|
-
|
|
228
|
+
const [key, ...value] = cur.split('=');
|
|
229
|
+
// handle case where value includes an equals sign
|
|
230
|
+
acc[key] = value.join('=');
|
|
230
231
|
return acc;
|
|
231
232
|
}, {});
|
|
232
233
|
const buffer = await (0, methods_1.compressFilesFromRelativePath)(flowFile?.endsWith('.yaml') || flowFile?.endsWith('.yml')
|
|
@@ -267,8 +268,6 @@ class Cloud extends core_1.Command {
|
|
|
267
268
|
testFormData.set('iOSDevice', iOSDevice.toString());
|
|
268
269
|
if (name)
|
|
269
270
|
testFormData.set('name', name.toString());
|
|
270
|
-
if (metadata)
|
|
271
|
-
testFormData.set('metadata', JSON.stringify(metadata));
|
|
272
271
|
for (const [key, value] of Object.entries(rest)) {
|
|
273
272
|
if (value) {
|
|
274
273
|
testFormData.set(key, value);
|
package/oclif.manifest.json
CHANGED