mirror of
https://github.com/denoland/deno.git
synced 2025-03-05 10:26:44 -05:00

This commit changes `Deno.lint.runPlugin` to throw in non-`deno test` subcommand, instead of returning `undefined`.
5 lines
246 B
Text
5 lines
246 B
Text
error: Uncaught (in promise) Error: `Deno.lint.runPlugin` is only available in `deno test` subcommand.
|
|
Deno.lint.runPlugin(plugin, "source.ts", "export default {}");
|
|
^
|
|
at Object.runPlugin ([WILDCARD])
|
|
at [WILDCARD]main.ts:12:11
|