Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/dev(v1): Fix gulp build tasks failing on Windows #2131

Merged
merged 1 commit into from
May 6, 2024

Conversation

t1m0thyj
Copy link
Member

@t1m0thyj t1m0thyj commented May 6, 2024

What It Does

Fixes gulp build tasks that invoke npm.cmd on Windows (see failing build here)

For details about why they broke in Node 20.12.2, see https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2

The shell: true is not best practices for security, but it's the easiest workaround and I think it's fine in v1-only dev scripts where we were already using it.

How to Test

If using Windows, upgrade to Node 20.12.2 or newer and verify that the zowe-v1-lts branch is able to build successfully with these changes

Review Checklist
I certify that I have:

Additional Comments

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Copy link

sonarcloud bot commented May 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Timothy!

@t1m0thyj t1m0thyj merged commit f126467 into zowe-v1-lts May 6, 2024
13 checks passed
@t1m0thyj t1m0thyj deleted the chore/fix-dev-scripts-v1 branch May 6, 2024 19:08
@t1m0thyj t1m0thyj added the release-current Indicates that there is no new functionality being delivered label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog release-current Indicates that there is no new functionality being delivered
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

None yet

3 participants