mirror of
https://github.com/denoland/deno.git
synced 2025-01-09 23:58:23 -05:00
cabdfa8c2d
The selector splitting code that's used for JS linting plugins didn't properly account for selectors being a single character. This can happen in the case of `*`. Instead of comparing against the length, we'll now check if the remaining string portion is not empty, which is more robust. It also allows us to detect trailing whitespace, which we didn't before. |
||
---|---|---|
.. | ||
40_bench.js | ||
40_jupyter.js | ||
40_lint.js | ||
40_lint_selector.js | ||
40_lint_types.d.ts | ||
40_test.js | ||
40_test_common.js |