Commit 0f0179d6 authored by nanahira's avatar nanahira

fix terrible crash

parent 876dd458
Pipeline #5398 passed with stages
in 3 minutes and 13 seconds
......@@ -204,6 +204,9 @@ export class UpdateService extends ConsoleLogger {
}
async getPartPackageMetalink(id: string, depotDto: DepotDto, version: string, requestedFiles: string[]) {
if (!requestedFiles || !requestedFiles.length) {
throw new BlankReturnMessageDto(400, 'empty files').toException();
}
const build = await this.getBuild(
id,
depotDto,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment