Skip to content

Commit

Permalink
fix context
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Feb 14, 2024
1 parent 99f1b49 commit b8adecb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/VsCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@ export const runWithToken = <R>(runtime: Runtime.Runtime<R>) => {
}
export const runWithTokenDefault = runWithToken(Runtime.defaultRuntime)

export const launch = <E>(
layer: Layer.Layer<never, E, vscode.ExtensionContext>,
) =>
export const launch = <E>(layer: Layer.Layer<never, E, VsCodeContext>) =>
Effect.gen(function* (_) {
const context = yield* _(VsCodeContext)
const scope = yield* _(Scope.make())
Expand Down

0 comments on commit b8adecb

Please sign in to comment.