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: remove the "comments rewriter" #3368

Merged
merged 3 commits into from Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 13 additions & 13 deletions packages/jsii-calc/test/assembly.jsii
Expand Up @@ -761,7 +761,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) String representation of the value."
Copy link
Contributor

Choose a reason for hiding this comment

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

So many trees are going to be saved!

Copy link
Contributor

Choose a reason for hiding this comment

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

Could be cool to calculate the negative carbon footprint of this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree but don't you try to nerd snipe me into sinking days or weeks into this. I'd first need to have representative telemetry for "cumulative compile times" + roughly what kind of hardware is in use (to estimate average power consumption of that build), and a ballpark idea of where that is geographically (to estimate the carbon intensity of the power supply there).

But I'd lie if your initial reaction to this did not make me think "oh jeez, it'd be sweet if the PRs had an automated comment telling you what the impact of the change is on the carbon footprint of the codebase"...

"summary": "String representation of the value."
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand All @@ -781,7 +781,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) The value."
"summary": "The value."
},
"immutable": true,
"locationInModule": {
Expand Down Expand Up @@ -1772,7 +1772,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) Say hello!"
"summary": "Say hello!"
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand Down Expand Up @@ -4764,7 +4764,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) Say hello!"
"summary": "Say hello!"
},
"locationInModule": {
"filename": "lib/compliance.ts",
Expand Down Expand Up @@ -9364,7 +9364,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) String representation of the value."
"summary": "String representation of the value."
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand All @@ -9384,7 +9384,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) The value."
"summary": "The value."
},
"immutable": true,
"locationInModule": {
Expand Down Expand Up @@ -9471,7 +9471,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) Say hello!"
"summary": "Say hello!"
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand All @@ -9488,7 +9488,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) String representation of the value."
"summary": "String representation of the value."
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand All @@ -9508,7 +9508,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) The value."
"summary": "The value."
},
"immutable": true,
"locationInModule": {
Expand Down Expand Up @@ -14787,7 +14787,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) String representation of the value."
"summary": "String representation of the value."
},
"locationInModule": {
"filename": "lib/calculator.ts",
Expand Down Expand Up @@ -14825,7 +14825,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) The value."
"summary": "The value."
},
"immutable": true,
"locationInModule": {
Expand Down Expand Up @@ -15075,7 +15075,7 @@
{
"docs": {
"stability": "stable",
"summary": "(deprecated) Say hello!"
"summary": "Say hello!"
},
"locationInModule": {
"filename": "lib/module2647/index.ts",
Expand Down Expand Up @@ -16807,5 +16807,5 @@
}
},
"version": "3.20.120",
"fingerprint": "w6AJ35Nh9lBusQyMGP28WJp5MNbg527uO9TsHaP+DiE="
"fingerprint": "lt+IM5wKyCp+HghCCEt9CX5x65ePqyHvu/emNzsxqbg="
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.