Feature Overview
Currently the wrapCode function truncates the contents to the github comment size limit, even when writing the output to a local file. Files have no size limit of course so it would be great if it (optionally configurable) would not truncate when writing to a file.
An approach would be to just add a boolean parameter to wrapCode, truncate to indicate if truncation should take place, this can be passed as true when using the github notifier but false when using the localfile notifier, implementation would be fairly trivial. However, this would not be backwards compitable with people who have written their own templates with the wrapCode function as they would need to add the truncate param. I'm not sure of another elegant way to implement its.
If welcomed I'd like to create a PR to solve this!
Why is the feature needed?
We use writing to a local file to get around the github comment size limit but it now is still truncated
Example Code
No response
note
No response
Feature Overview
Currently the wrapCode function truncates the contents to the github comment size limit, even when writing the output to a local file. Files have no size limit of course so it would be great if it (optionally configurable) would not truncate when writing to a file.
An approach would be to just add a boolean parameter to wrapCode,
truncateto indicate if truncation should take place, this can be passed as true when using the github notifier but false when using the localfile notifier, implementation would be fairly trivial. However, this would not be backwards compitable with people who have written their own templates with the wrapCode function as they would need to add the truncate param. I'm not sure of another elegant way to implement its.If welcomed I'd like to create a PR to solve this!
Why is the feature needed?
We use writing to a local file to get around the github comment size limit but it now is still truncated
Example Code
No response
note
No response