@devicecloud.dev/dcd 3.0.0 → 3.0.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/methods.js +7 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/methods.js
CHANGED
|
@@ -231,8 +231,13 @@ const uploadBinary = async (filePath, apiUrl, apiKey) => {
|
|
|
231
231
|
});
|
|
232
232
|
file = new file_1.File([binaryBlob], filePath);
|
|
233
233
|
}
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
let sha = undefined;
|
|
235
|
+
try {
|
|
236
|
+
sha = await getFileHash(filePath);
|
|
237
|
+
}
|
|
238
|
+
catch {
|
|
239
|
+
// do nothing
|
|
240
|
+
}
|
|
236
241
|
let metadata;
|
|
237
242
|
try {
|
|
238
243
|
metadata = filePath?.endsWith('.apk')
|
package/oclif.manifest.json
CHANGED