mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 06:40:19 +00:00
Modify FromSchema so that optional properties are actually optional
This commit is contained in:
@@ -145,7 +145,6 @@ test("credentialToStr - hides passwords", (t) => {
|
||||
const secret = "password123";
|
||||
const credential = {
|
||||
type: "maven_credential",
|
||||
username: null,
|
||||
password: secret,
|
||||
url: "https://localhost",
|
||||
} satisfies types.Credential;
|
||||
@@ -160,7 +159,6 @@ test("credentialToStr - hides tokens", (t) => {
|
||||
const secret = "password123";
|
||||
const credential = {
|
||||
type: "maven_credential",
|
||||
username: null,
|
||||
token: secret,
|
||||
url: "https://localhost",
|
||||
} satisfies types.Credential;
|
||||
|
||||
Reference in New Issue
Block a user