Skip to content

Commit 57d871c

Browse files
authored
Merge branch 'master' into sourcemap-handle-null-sections
2 parents 57fc50d + 6403960 commit 57d871c

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

src/debugger/sourceMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as path from "path";
66
import { RawSourceMap } from "source-map";
77
import { SourceMapsCombinator } from "./sourceMapsCombinator";
88

9-
const IS_REMOTE = /^[A-z]{2,}:\/\//; // Detection remote sources or specific protocols (like "webpack:///")
9+
const IS_REMOTE = /^[A-Za-z]{2,}:\/\//; // Detection remote sources or specific protocols (like "webpack:///")
1010

1111
interface ISourceMap extends RawSourceMap {
1212
sections?: ISourceMapSection[];

test/smoke/suites/vsixbuild.test.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for details.
3+
14
import * as fs from "fs";
25
import * as path from "path";
6+
import { fileURLToPath, pathToFileURL } from "url";
37
import assert = require("assert");
48
import AdmZip = require("adm-zip");
59

610
export function startVsixExistenceTest(): void {
711
describe("VSIX existence check", () => {
812
// Use repo-relative path to match CI workspace
9-
const targetDir = path.resolve(__dirname, "..", "..", "resources", "extension");
13+
const targetDirUri = pathToFileURL(
14+
path.resolve(__dirname, "..", "..", "resources", "extension"),
15+
).toString();
16+
const targetDir = fileURLToPath(targetDirUri);
1017

1118
it("Soft-check VSIX presence without failing PR", function () {
1219
const files = fs.existsSync(targetDir)
@@ -24,7 +31,7 @@ export function startVsixExistenceTest(): void {
2431
}
2532
});
2633

27-
it.only("VSIX manifest contains required Identity fields", function () {
34+
it("VSIX manifest contains required Identity fields", function () {
2835
if (!fs.existsSync(targetDir)) {
2936
this.skip?.();
3037
return;

0 commit comments

Comments
 (0)