diff --git a/extensions/ql-vscode/scripts/source-map.ts b/extensions/ql-vscode/scripts/source-map.ts index fcdb37a1a..e59a31934 100644 --- a/extensions/ql-vscode/scripts/source-map.ts +++ b/extensions/ql-vscode/scripts/source-map.ts @@ -137,7 +137,7 @@ async function extractSourceMap() { } } - const sourceMap = rawSourceMaps.get(file) as RawSourceMap | null; + const sourceMap = rawSourceMaps.get(file); if (!sourceMap) { return match; }