Fix getGotOptions use after merge

This commit is contained in:
Fedor Indutny 2024-03-21 12:56:33 -07:00 committed by GitHub
parent 912d8f5b9e
commit 9ad0e5064d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,7 +171,7 @@ export class OptionalResourceService {
decl: OptionalResourceType,
destPath: string
): Promise<Buffer> {
const result = await got(decl.url, getGotOptions()).buffer();
const result = await got(decl.url, await getGotOptions()).buffer();
this.cache.set(name, result);