@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.
@@ -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
- acc[key] = value;
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);
@@ -275,5 +275,5 @@
275
275
  ]
276
276
  }
277
277
  },
278
- "version": "1.0.9"
278
+ "version": "1.0.10"
279
279
  }
package/package.json CHANGED
@@ -80,7 +80,7 @@
80
80
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
81
  "version": "oclif readme && git add README.md"
82
82
  },
83
- "version": "1.0.9",
83
+ "version": "1.0.10",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },