Skip to content

Commit

Permalink
fix: missing parentheses for Plugin::#denoEnabled() call (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn authored Sep 10, 2023
1 parent ec0b9c0 commit 6122bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript-deno-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Plugin implements ts.server.PluginModule {
return (...args) => {
const enabled = fileNameArg !== undefined
? this.#fileNameDenoEnabled(args[fileNameArg] as string)
: this.#denoEnabled;
: this.#denoEnabled();
return enabled
// in order to keep the `emptyReturn` separate instances, we do some
// analysis here to ensure we are returning a "fresh" `emptyReturn`
Expand Down

0 comments on commit 6122bb2

Please sign in to comment.