[TIMOB-14990] Code Processor: Add a plugin option to suppress the results
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-09-17T18:39:12.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 Tooling, Release 3.1.3, Release 3.2.0 |
| Components | Code Processor |
| Labels | qe-port |
| Reporter | Bryan Hughes |
| Assignee | Bryan Hughes |
| Created | 2013-08-28T22:02:46.000+0000 |
| Updated | 2013-12-12T21:43:12.000+0000 |
Description
Currently, if a plugin is included and can generate output, it will always generate output. Sometimes we want to include a plugin, but not show its output. A plugin option called "suppressOutput" that takes a boolean should be supported
PR: https://github.com/appcelerator/titanium-code-processor/pull/239
To test, run against an app using a config file (you can get one from a studio run). Modify the config file and set suppressOutput to true for a plugin, e.g.
Run the code processor: 'ti analyze -F{ ... "plugins": [ ... { "path": "/Users/bhughes/Work/titanium-code-processor/plugins/ti-api-deprecation-finder", "options": {}, "suppressOutput": true }, ... } }install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14990
Merged PR.
Reopening for the 3.1.3 backport
1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/241
Merged the PR.
Verified via TISTUD-5342.