Commit 177b05f
CLJS-1603: Only warn for misspelled comp/REPL opts
REPLs may have REPL-specific options which are added to the compiler/
REPL option map and this triggers "unknown compiler option" warnings.
Instead, only issue warnings when there are known suggestions within
the Levenshtein distance threshold. This effectively limits the feature
to its original use case of detecting minor misspellings.1 parent 4681e47 commit 177b05f
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
| 207 | + | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
784 | | - | |
| 783 | + | |
| 784 | + | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| |||
0 commit comments