Compare commits

..

3 commits

Author SHA1 Message Date
dd6c719809 0.2.7 2023-01-20 00:09:37 -03:00
05f40628b1 uploadBlobs: don't fail wrongly on verification 2023-01-20 00:09:27 -03:00
098d4ffa4c 0.2.6 2023-01-17 11:10:16 -03:00
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@nulo/isogit-lfs", "name": "@nulo/isogit-lfs",
"version": "0.2.5", "version": "0.2.7",
"description": "LFS helpers for Isomorphic Git", "description": "LFS helpers for Isomorphic Git",
"main": "src/index.ts", "main": "src/index.ts",
"repository": "git@github.com:riboseinc/isogit-lfs.git", "repository": "git@github.com:riboseinc/isogit-lfs.git",

View file

@ -92,6 +92,7 @@ export default async function uploadBlobs(
}, },
body: JSON.stringify(infos[index]), body: JSON.stringify(infos[index]),
}); });
if (!resp.ok)
throw new Error( throw new Error(
`Upload might have been unsuccessful, verification action yielded HTTP ${verificationResp.status}` `Upload might have been unsuccessful, verification action yielded HTTP ${verificationResp.status}`
); );