diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-10-17 05:13:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-17 05:13:06 +0100 |
| commit | 7561f6eceacc46c6f4f5f66cf03e627821b64f02 (patch) | |
| tree | 2ad3d0ee5a36e1eef4053202e2400a3315c61000 /cli/lsp | |
| parent | 659cd90758c7fbfc7dd5896e35c20f3a79ec65cb (diff) | |
fix(lsp): include mtime in tsc script version (#20911)
Diffstat (limited to 'cli/lsp')
| -rw-r--r-- | cli/lsp/documents.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs index f017989b4..f97d6d618 100644 --- a/cli/lsp/documents.rs +++ b/cli/lsp/documents.rs @@ -574,7 +574,7 @@ impl Document { pub fn script_version(&self) -> String { self .maybe_lsp_version() - .map(|v| v.to_string()) + .map(|v| format!("{}+{v}", self.fs_version())) .unwrap_or_else(|| self.fs_version().to_string()) } |
