summaryrefslogtreecommitdiff
path: root/cli/tools/repl/editor.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-08 12:31:47 -0400
committerGitHub <noreply@github.com>2022-04-08 12:31:47 -0400
commita4c1e1bdcf3bd295d624c266278670e08227b26b (patch)
tree49ca167dc1c867337d834327987c95f72b57b086 /cli/tools/repl/editor.rs
parente411747e24b998c8178d0689aa7d63b0ad0e7046 (diff)
fix: upgrade to swc_ecmascript 0.143 (#14238)
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r--cli/tools/repl/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs
index 825934b5e..43047e585 100644
--- a/cli/tools/repl/editor.rs
+++ b/cli/tools/repl/editor.rs
@@ -315,7 +315,7 @@ impl Highlighter for EditorHelper {
colors::green(&line[span]).to_string()
}
Token::Regex(_, _) => colors::red(&line[span]).to_string(),
- Token::Num(_) | Token::BigInt(_) => {
+ Token::Num { .. } | Token::BigInt { .. } => {
colors::yellow(&line[span]).to_string()
}
Token::Word(word) => match word {