Fix getGotOptions use after merge
This commit is contained in:
parent
912d8f5b9e
commit
9ad0e5064d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue