We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a863e1 commit 33b84c3Copy full SHA for 33b84c3
src/org/netbeans/modules/php/cake3/commands/Cake3Script.java
@@ -390,12 +390,13 @@ private ExecutionDescriptor getDescriptor(Runnable postExecution) {
390
}
391
392
private ExecutionDescriptor.InputProcessorFactory2 getOutProcessorFactory(final LineProcessor lineProcessor) {
393
+ if (lineProcessor == null) {
394
+ // prevent to show results twice in output window
395
+ return null;
396
+ }
397
return new ExecutionDescriptor.InputProcessorFactory2() {
398
@Override
399
public InputProcessor newInputProcessor(InputProcessor defaultProcessor) {
- if (lineProcessor == null) {
- return defaultProcessor;
- }
400
return InputProcessors.ansiStripping(InputProcessors.bridge(lineProcessor));
401
402
};
0 commit comments