Skip to content

Commit

Permalink
Fix 'Cannot read property 'resolveEnv' of undefined' error (#16677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj authored Jul 13, 2021
1 parent 983bc2a commit 0862870
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class LazyWrappingLocator extends LazyResourceBasedLocator {
}

public async resolveEnv(env: string): Promise<PythonEnvInfo | undefined> {
await this.ensureResourcesReady();
return this.wrapped!.resolveEnv(env);
}

Expand Down

0 comments on commit 0862870

Please sign in to comment.