Skip to content

Commit a4e02f8

Browse files
pweaverarcanis
authored andcommitted
Add missing await in npm-resolver.js (#3640)
1 parent ec720fc commit a4e02f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolvers/registries/npm-resolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default class NpmResolver extends RegistryResolver {
7070

7171
async resolveRequest(): Promise<?Manifest> {
7272
if (this.config.offline) {
73-
const res = this.resolveRequestOffline();
73+
const res = await this.resolveRequestOffline();
7474
if (res != null) {
7575
return res;
7676
}

0 commit comments

Comments
 (0)