Skip to content

fix(DOSTM 7438): Issue #26 - Forced use of ANDROID_HOME breaks on github runners with it installed by default as you cannot remove the env value#38

Closed
vishalshanbhag-digicert wants to merge 13 commits intomasterfrom
Issue_Fix_1_DOSTM_7438
Closed

fix(DOSTM 7438): Issue #26 - Forced use of ANDROID_HOME breaks on github runners with it installed by default as you cannot remove the env value#38
vishalshanbhag-digicert wants to merge 13 commits intomasterfrom
Issue_Fix_1_DOSTM_7438

Conversation

@vishalshanbhag-digicert
Copy link
Collaborator

No description provided.

Vishal Shanbhag and others added 10 commits April 22, 2025 12:43
…age ssm-client-tools-installer for the fix DOSTM-7214 package-lock.json
…age ssm-client-tools-installer for the fix DOSTM-7214
…ecurity compliance / functionality for newer SDK based builds #24 - Code Changes for the fix
…ws SDK breaks security compliance / functionality for newer SDK based builds #24
…ub runners with it installed by default as you cannot remove the env value
src/index.ts Outdated
"jarsigner",
]
: ["smctl", "ssm-scd", "nuget", "mage", "apksigner"];
const isWinPlatform = (osPlat == con.OS_PLATFORM_WIN) ? true : false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just write,

const isWinPlatform = (osPlat === con.OS_PLATFORM_WIN);

}

public getAllSdkVersions(dirPath: any, sdkVersions: any = []): any {
fs.readdirSync(dirPath, {withFileTypes: true}).forEach(file => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as you just need name, you can destructure only that in args,

forEach(({ name }) => {
if(this.isVersionDirectory(name)){
          sdkVersions.push(name)
        }
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants