0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-05 10:26:44 -05:00
deno/tests/specs/lint/lint_plugin_runtime_api/run.out
Bartek Iwańczuk d29f9f99dd
fix(lint): Deno.lint.runPlugin throws in deno run (#28063)
This commit changes `Deno.lint.runPlugin` to throw
in non-`deno test` subcommand, instead of returning
`undefined`.
2025-02-12 09:18:55 +00:00

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