Merge branch 'main' into henrymercer/bump-minimum-codeql-2.16.6
This commit is contained in:
commit
df2a830ca4
1582 changed files with 4418 additions and 229243 deletions
|
|
@ -18,6 +18,10 @@ test("sanitizeArtifactName", (t) => {
|
|||
debugArtifacts.sanitizeArtifactName("*m)a&n^y%i££n+v!a:l[i]d"),
|
||||
"manyinvalid",
|
||||
);
|
||||
t.deepEqual(
|
||||
debugArtifacts.sanitizeArtifactName("\\foo\\bar//baz"),
|
||||
"foobarbaz",
|
||||
);
|
||||
});
|
||||
|
||||
// These next tests check the correctness of the logic to determine whether or not
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import {
|
|||
} from "./util";
|
||||
|
||||
export function sanitizeArtifactName(name: string): string {
|
||||
return name.replace(/[^a-zA-Z0-9_\\-]+/g, "");
|
||||
return name.replace(/[^a-zA-Z0-9_-]+/g, "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"bundleVersion": "codeql-bundle-v2.21.3",
|
||||
"cliVersion": "2.21.3",
|
||||
"priorBundleVersion": "codeql-bundle-v2.21.2",
|
||||
"priorCliVersion": "2.21.2"
|
||||
"bundleVersion": "codeql-bundle-v2.21.4",
|
||||
"cliVersion": "2.21.4",
|
||||
"priorBundleVersion": "codeql-bundle-v2.21.3",
|
||||
"priorCliVersion": "2.21.3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue