diff --git a/lib/src/vscode-textmate/index.js b/lib/src/vscode-textmate/index.js index f133639..4c47a44 100644 --- a/lib/src/vscode-textmate/index.js +++ b/lib/src/vscode-textmate/index.js @@ -1427,9 +1427,9 @@ function ne(e, t, s, r, i, o, a, c) { })(e, t, s, r, i, o); (i = a.stack), (r = a.linePos), (s = a.isFirstLine), (u = a.anchorPosition); } - const p = Date.now(); + const p = _(); for (; !h; ) { - if (0 !== c && Date.now() - p > c) return new te(i, !0); + if (0 !== c && _() - p > c) return new te(i, !0); d(); } return new te(i, !1);