Skip to content

Commit

Permalink
Revert "Merge pull request #821 from agokhale/pdf-noncompliant"
Browse files Browse the repository at this point in the history
This reverts commit 1808616, reversing
changes made to 1ebb09c.

Tests were flakey.
  • Loading branch information
aheckmann committed Sep 21, 2022
1 parent ef6d183 commit 16385dc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 44 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,15 +622,6 @@ http://github.com/quiiver/magickal-node
## Plugins
[https://github.com/aheckmann/gm/wiki](https://github.com/aheckmann/gm/wiki)

## Tests
`npm test`

To run a single test:

```
node test --integration pdf-noncompliant.js
```

## License

(The MIT License)
Expand Down
6 changes: 1 addition & 5 deletions lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var utils = require('./utils');
var debug = require('debug')('gm');
var series = require('array-series');
var PassThrough = require('stream').PassThrough;
var nuisanceConsumer = require('./nuisanceConsumer');

/**
* Error messaging.
Expand Down Expand Up @@ -287,10 +286,7 @@ module.exports = function (proto) {
, onExit

proc.stdout.on('data', onOut = function (data) {
if ( nuisanceConsumer.isNuisance( data ) == 1 )
{ /*console.log("elided", data); */ stderr+= data; }
else
{stdout += data;}
stdout += data;
});

proc.stderr.on('data', onErr = function (data) {
Expand Down
10 changes: 0 additions & 10 deletions lib/nuisanceConsumer.js

This file was deleted.

Binary file removed test/fixtures/synthetic_invalid.pdf
Binary file not shown.
20 changes: 0 additions & 20 deletions test/pdf-noncompliant.js

This file was deleted.

0 comments on commit 16385dc

Please sign in to comment.