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

Chore: fix misues of -p in node infocations #4415

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Chore: fix misues of -p in node infocations #4415

merged 1 commit into from
Sep 12, 2017

Conversation

BYK
Copy link
Member

@BYK BYK commented Sep 12, 2017

Summary

We've been using node -p -e where -e is redundant since
it is implied by -p: https://nodejs.org/api/cli.html#cli_p_print_script

This patch removes those extra -es.

Test plan

All bundles should build on CI without errors.

**Summary**

We've been using `node -p -e` where `-e` is redundant since
it is implied by `-p`: https://nodejs.org/api/cli.html#cli_p_print_script

This patch removes those extra `-e`s.

**Test plan**

All bundles should build on CI without errors.
@buildsize
Copy link

buildsize bot commented Sep 12, 2017

This change will decrease the build size from 9.51 MB to 9.51 MB, a decrease of 204 bytes (0%)

File name Previous Size New Size Change
yarn-[version].noarch.rpm 819.63 KB 819.56 KB -73 bytes (0%)
yarn-[version].js 3.62 MB 3.62 MB -14 bytes (0%)
yarn-legacy-[version].js 3.67 MB 3.67 MB -14 bytes (0%)
yarn-v[version].tar.gz 823.76 KB 823.73 KB -35 bytes (0%)
yarn_[version]all.deb 626.48 KB 626.42 KB -68 bytes (0%)

@arcanis arcanis merged commit 3f94e77 into master Sep 12, 2017
joaolucasl pushed a commit to joaolucasl/yarn that referenced this pull request Oct 27, 2017
**Summary**

We've been using `node -p -e` where `-e` is redundant since
it is implied by `-p`: https://nodejs.org/api/cli.html#cli_p_print_script

This patch removes those extra `-e`s.

**Test plan**

All bundles should build on CI without errors.
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.

3 participants