Skip to content
Snippets Groups Projects
Commit ffc04a02 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(github): catch 409 empty

parent af0a1125
No related branches found
No related tags found
No related merge requests found
......@@ -361,6 +361,9 @@ class Storage {
if (err.statusCode === 404) {
throw new Error('repository-changed');
}
if (err.statusCode === 409) {
throw new Error('empty');
}
throw err;
}
}
......
......@@ -13,6 +13,7 @@ function processResult(config, res) {
'not-found',
'renamed',
'uninitiated',
'empty',
];
let status;
// istanbul ignore next
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment